Forum Replies Created

Viewing 13 posts - 196 through 209 (of 209 total)

  • RE: T-SQL

    Lynn Pettis (11/17/2009)


    david.wright-948385 (11/17/2009)


    I think getdate() = getutcdate() would return false in your time zone, so I think they're probably different!

    Everyone is looking at the values, yes, they are "different",...

  • RE: T-SQL

    I think getdate() = getutcdate() would return false in your time zone, so I think they're probably different!

  • RE: T-SQL

    A good example of the need for thorough testing 🙂 Would rather not have a mark against me on the stats for answering correctly though 🙁

  • RE: deadlock and transactions

    Oops, my bad... 2005 seems so far away now 🙂

  • RE: deadlock and transactions

    ... or use merge.

  • RE: T-SQL 2008

    I reckon this thread has pretty much said all it's going to :doze: Credit to the QOD author; fair point to (some of) the criticisms; let's call it a day.

  • RE: T-SQL 2008

    It may have been the intention to design the question in that way, but nothing in the question shows its heart to be about extensions any more than it is...

  • RE: SQL LEN Function

    try SELECT '''' + @str + '''' 🙂

  • RE: Backup to the Clode - No Excuses

    I'd warn against routing backups to a central location and from there to other locations. The source of the data (the database server) is a bottleneck you can't avoid. The...

  • RE: Restore Database from network location

    The other point to consider is whether the backup file was compressed by Sql Server (Enterprise/Dev edition only). If not, depending on the computing power available and the capacity/capability of...

  • RE: TSQL variable

    I take your point about it being good exercise for the mind - quite so. But in the real world, if you rely on the database behaving in a particular...

  • RE: TSQL variable

    I reckon it's a good example of bad practice just because the outcome isn't defined 🙂

Viewing 13 posts - 196 through 209 (of 209 total)