Forum Replies Created

Viewing 15 posts - 51,166 through 51,180 (of 59,074 total)

  • RE: want only date portion from datetime datatype in UPDATE statement

    Still not going to help on a DATETIME column... A DATETIME column uses only the default system format when displaying data. If you want something else (should be done...

  • RE: which one is faster?

    I'd rather have more memory so more data can be cached. Also, no matter how fast the processor is, bad code (usually some form of RBAR) is the great...

  • RE: SUM Keeps decreasing when it should stay the same:

    alorenzini (4/10/2008)


    What would be the best way to get you some sample data?

    See the UFL in my signature line for some help on that...

  • RE: group by ntext?

    Ah... thanks for the explanation, Gail... I just figured it out... the reason they need to do the GROUP BY on a comments column is because they're writing an aggregate...

  • RE: Interview guidelines

    GilaMonster (4/10/2008)


    At my current place we start with the technical interview. Since we're curently looking for people to do performance tuning and monitoring, I'll usually start with a very simple...

  • RE: How to split cells in table format?

    antonio.collins (4/9/2008)


    A matrix report will do the pivoting you describe.

    Nicely done...

  • RE: Splitting

    Nuh uh... some of us recommend BULK INSERT... BCP would require a trip to the operating system, possibly via xp_CmdShell... that's why I recommended BULK INSERT. I didn't recommend...

  • RE: Interview guidelines

    jezemine (4/10/2008)


    Jeff Moden (4/9/2008)


    Heh... my very first question is "How do you get the current date and time using a query". Believe it or not, about 1/4 of the...

  • RE: Performance: Every nth item

    Dumber and dumber is right... they should have left it alone... 2k had a fine optimizer... well, the idiocy started at SP4 which is why I still run sp3a on...

  • RE: group by ntext?

    Gail (4/9/2008)


    here is my query the field is a comment field commentsmc

    You're trying to group on a comment field? :blink: As I've asked a couple of times now,...

  • RE: group by ntext?

    Steve's suggestion is good, but use NVARCHAR(MAX) instead... 3rd party either made the original column NTEXT for a reason or because they're stupid... you have to account for either eventuality....

  • RE: group by ntext?

    And a sample of what's in the NTEXT column please... it's hard for me to imagine why you'd want to group on something that can be 4000 bytes long...

  • RE: Executing a stored procedure periodically

    Grant Fritchey (4/9/2008)


    But the constant updates from a single spid that is always connected won't act like a transaction & hold that lock open? Just asking, not arguing.

    Nope... not if...

  • RE: Interview guidelines

    One other thing that has been covered on previous such posts to a very great extent. Never lie and never stretch the truth on an interview... heh, and pass...

  • RE: Is checksum() guaranteed across SQL versions

    Nicely done, Peter!

Viewing 15 posts - 51,166 through 51,180 (of 59,074 total)