Viewing 15 posts - 136 through 150 (of 658 total)
Owing to the absence of a "select two" hint I almost went for "all of the above", but saw sense and got it right.
I've obviously been doing these QotD for...
February 16, 2015 at 1:22 am
One of those occasions when it pays to answer the question without running the code!
February 11, 2015 at 10:10 am
Are there any circumstances where using SOME would be preferable to the equivalent with EXISTS?
January 29, 2015 at 2:12 am
Hany Helmy (12/30/2014)
Wow :w00t: 41% didn`t know about the "Extra comma in column list" will not prevent you from creating a table.
Why would you expect people to know this? It's...
January 2, 2015 at 2:33 am
manik123 (12/30/2014)
Very very very easiest question....:-P
Not that easy - I assumed that there must be a catch so went for the non-obvious answer and got it wrong :hehe:
January 2, 2015 at 2:20 am
Might have been a bit trickier if it didn't come down to knowing how -5 was treated
December 18, 2014 at 2:09 am
Got this wrong, as it asked what output we'd get. I figured that "You can't use transactions on sp_configure" was an unlikely looking error message so ruled it out.
Turns out...
December 12, 2014 at 4:27 am
Hany Helmy (12/3/2014)
Though the missing quote mark (which is most probably a typo
Not so much a typo, as forgetting to edit the text when it was copied and pasted from...
December 3, 2014 at 7:11 am
And if the first script is run together as a single batch, the table won't be created and the error message will be something else again!
December 3, 2014 at 4:37 am
It was possible to work this out by elimination - either both or neither of 4 and 5 had to be there, which ruled out all but 1 and 1,3....
November 21, 2014 at 2:28 am
GROUPING_ID was introduced in SQL2008. The others were all available in SQL2005.
November 20, 2014 at 5:14 am
Igor Micev (11/17/2014)
Why not?
No reason at all, I was just curious as to what scenario might require it 🙂
November 17, 2014 at 5:40 am
Out of interest, what was the reason for needing to make this update? I can understand inserts (sort of) due to the need to support legacy data, but not clear...
November 17, 2014 at 3:49 am
Viewing 15 posts - 136 through 150 (of 658 total)