Forum Replies Created

Viewing 15 posts - 466 through 480 (of 583 total)

  • RE: Constraints

    charles evans (10/17/2011)


    I wonder if this works the same way without ANSI Nulls? I'm too lazy/busy to try it out.

    It works the same with SET ANSI_NULLS OFF (Deprecated feature,...

  • RE: Constraints

    SKYBVI (10/17/2011)


    I guess the answer is wrong

    It should be 1 and 2 only

    beacuse only the constraint is violated,

    the sql statement is terminated.

    it doesn't look for other statements...

    just goes out of...

  • RE: Constraints

    rmechaber (10/17/2011)


    Thanks for a good question. I got it right, but I thought that perhaps only one such NULL INSERT would be allowed. After reading the BOL entry...

  • RE: Merge statement

    SQLRNNR (9/7/2011)


    Nice question. Thanks to DBCC Timewarp we were able to answer the Oct 14 question over a month early. :-D:-D:-D:-D

    I had forgotten about this question. So, I was...

  • RE: Database Mirroring Failover

    Easy enough (and straight forward) that I thought it was Monday. Thanks Steve!

  • RE: Output of Query

    Nice one! I almost missed it, but my spidy sense told me to look at the question again. Thanks.

  • RE: Indexes

    This will help the swelling go down after yesterday's injuries. Thanks for the question!

    I didn't learn as much as I have with other QOTDs, but sometimes it's nice to...

  • RE: Elementary Key Attributes

    I said C only: Some other attribute B is fixed by a set including A but by no subset of that set - which is clearly true.

    Couldn't get the other...

  • RE: Table variable vs temp table

    SQL Kiwi (10/3/2011)


    Thomas Abraham (10/3/2011)


    So, now I'm a bit confused. Just when am I supposed to use table variables?

    Whenever they suit the requirement better than a temporary table 🙂

    Wayne Sheffield...

  • RE: Table variable vs temp table

    Thanks to all, including Ron, Mark & Jack, for their responses.

    I had just switched over to using more table variables, and will be more reluctant to use them going forward.

  • RE: Table variable vs temp table

    sknox (10/3/2011)


    The answer is correct but the explanation ("The reason is that the table variable causes a recompilation") is 100% wrong.

    The reason the table variable code is so slow is...

  • RE: Table variable vs temp table

    Oops, where are my manners. Thank you sir, may I please have another? (Question, that is.)

  • RE: Table variable vs temp table

    I got it wrong, so I tested it on my own system. (2008 R2 - 2005 not available)

    Results for table variable, in ms: 80800, 80203, & 79523

    Results for temp table,...

  • RE: TempDB

    Nice question. Just the right amount of difficulty for my morning starter. Thanks.

  • RE: Installating SSIS with Named Instance

    As I work in a shop with multiple DBA's, I don't always get to "fiddle" with the configuration. Definitely learned something today. Thanks for the question.

Viewing 15 posts - 466 through 480 (of 583 total)