Viewing 15 posts - 2,131 through 2,145 (of 3,348 total)
Thomas Abraham (5/16/2012)
Got it wrong, and I even ran a test. Code below:
CREATE TABLE #Temp(Col1 INT NOT NULL
CONSTRAINT PK_QOTD_1 PRIMARY KEY (Col1))
...
May 16, 2012 at 5:58 am
Christian Buettner-167247 (5/16/2012)
May 16, 2012 at 1:51 am
Nice question. I knew about implicit transaction, but I had to do some digging because I couldn't remember if primary key violation errors are batch-aborting or not.
(One possible -slight!- improvement...
May 16, 2012 at 1:44 am
L' Eomot Inversé (5/14/2012)
May 15, 2012 at 2:13 am
WayneS (5/10/2012)
I tried (and sent this QotD to several folks to get their opinions) to make this a good QotD without this controversy. How would you have worded this to...
May 10, 2012 at 8:53 am
L' Eomot Inversé (5/10/2012)
The wrong answer made no points difference to me, because I managed to get it utterly wrong even...
May 10, 2012 at 4:00 am
jalvarocrespo (5/10/2012)
Well, but I can't find any difference between the result obtained and my response: When the table contains sparse columns and a sparse column set, then any...
May 10, 2012 at 2:14 am
Good question, Wayne. And thanks Koen for the additional reference.
Also, the result set in the explanation is not really correct. The ColumnSet row will display XML data. I assume that...
May 10, 2012 at 1:09 am
L' Eomot Inversé (5/9/2012)
Hugo Kornelis (5/9/2012)
However, the explanation and reference are slightly incomplete, as they don't explain the behaviour of @A LIKE @b-2 versus @ LIKE @A.
The explanation for...
May 9, 2012 at 5:19 am
jalvarocrespo (5/9/2012)
UNIQUE
Creates a unique index on a table or view. A unique index is one in which no two rows are permitted to have the same index key...
May 9, 2012 at 2:38 am
jalvarocrespo (5/9/2012)
But, IMO, the reason would be the fact that ID2 must be set as NOT NULL to enable the creation of the index.
Nope. You can create an index on...
May 9, 2012 at 2:12 am
Nice question!
However, the explanation and reference are slightly incomplete, as they don't explain the behaviour of @A LIKE @b-2 versus @ LIKE @A.
The explanation for that can simply be found...
May 9, 2012 at 2:04 am
dogramone (5/8/2012)
Wow, did a google search and there was no mention in any of the four posts I checked about the count_big so I got it wrong.
You would have found...
May 8, 2012 at 2:45 am
Viewing 15 posts - 2,131 through 2,145 (of 3,348 total)