Forum Replies Created

Viewing 15 posts - 31 through 45 (of 129 total)

  • RE: Truncate rollback

    Ravi-339369 (4/22/2010)


    Query...does the Insert work on SQL 2008 if the db was created in an earlier version?

    I can't exactly answer your question because I don't have a copy of SQL...

  • RE: Truncate rollback

    jim.tinney (4/22/2010)


    I chose 0, because it did not error on select, it errored on insert. and the select returns rightly, 0 rows.

    That's not quite true. If you considered the...

  • RE: Truncate rollback

    To be fair, even if you saw the "Possible Error" in the INSERT (if you didn't know this was a SQL 2008 feature, like me) or if you ran it...

  • RE: NULL

    Hah, should have known Hugo would come explain everything properly - ignore my posts, concentrate on his 🙂

  • RE: NULL

    BrainDonor (4/13/2010)


    It could have possibly have been phrased slightly better ("The fixed value NULL", or something like that), but it is correct. NULL does not equal NULL. Try comparing two...

  • RE: NULL

    Sorry, but within the context of Microsoft terminology, this is simply wrong.

    Within the context of SQL Server documentation, "UNKNOWN" (all uppercase) is used exclusively as a Boolean result in SQL...

  • RE: Encryption

    While the intent of the question is clear, there is currently some question as to the accuracy of the selected answer:

    http://www.schneier.com/blog/archives/2009/07/another_new_aes.html

    (I got the answer "right", not looking for my point...

  • RE: SARGable

    Hmm, I was more bothered by the fact that NOT IN() is assumed to NOT be SARGable... In SQL 2000 this was always true when there was more than one...

  • RE: What's in your CLR?

    Registry Access. Haven't figured out an efficient and sensible way to do it in SQL Server 2005 without using the CLR.

  • RE: UPDATE() and triggers

    vkirkpat (12/2/2009)


    But, the update DOES change the value, right? Even though it may be the same value, it does get updated. It's not like SQL Server says to itself, hey,...

  • RE: UPDATE() and triggers

    A trickier variation could be the same question, without the "Insert" statement.

    Even though there are no rows being updated in that variant, the trigger still finds that the column was...

  • RE: T-SQL Parsing Crazy Eights

    To each his own, I guess!

    To me, your "fix" makes it even harder to read (keeping a joined table on the same line as the first table? eek!) - but...

  • RE: T-SQL Parsing Crazy Eights

    mohd.nizamuddin (9/30/2009)


    David Walker-278941 (9/23/2009)

    For table alises, programmers seem to get the idea that they are a required part of the syntax. In fact, for many readers, having to read...

  • RE: T-SQL Parsing Crazy Eights

    David Walker-278941 (9/23/2009)


    Yes, but I'm not forgiving of superfluous apostrophes in the word "its". The sentence gets a Fail. "It's" means "it is" and nothing else.

    Ah but if...

  • RE: T-SQL Parsing Crazy Eights

    I considered trying to say that, but couldn't figure out how to do so as clearly as @sknox just did :-).

Viewing 15 posts - 31 through 45 (of 129 total)