Viewing 15 posts - 16 through 30 (of 440 total)
Good question indeed. I should have spotted that the aggregates will fail due to untyped NULL. If the null value in the last statement were typed, it would work just...
December 20, 2012 at 11:44 pm
Wrong answer marked as correct. SQL Server will return the following error message:
Msg 102, Level 15, State 1, Line 5
Incorrect syntax near ';'.
Semicolon is not allowed after go.
December 3, 2012 at 10:15 pm
Well, this question definitely has more than one correct answer. If you look at the actual execution plan, the correct answer is 0.
November 27, 2012 at 11:47 pm
Raid 1+0 and 0+1 isn't even identical in performance, 1+0 performs better when the array is degraded.
November 24, 2012 at 8:51 am
It appears that this article has been changed (or at least republished). Perry Whittle's comment should have been taken into consideration, the difference between RAID 1+0 and 0+1 is indeed...
November 22, 2012 at 11:51 pm
I think this modification does the trick:
exec(@dbName + replace(@tempSQL,'''',''''''))
November 22, 2012 at 11:41 pm
Place the mouse pointer of the the file's tab.
October 1, 2012 at 3:08 am
ramkaay (9/20/2012)
The whole query will not fetch any rows.Because the table is dropped at the end.
The query will return rows anyway, otherwise temporary objects would not have worked very...
September 20, 2012 at 1:22 am
sknox (9/19/2012)
Even if you know TABLESAMPLE inside and out, you cannot expect to get this question correct without knowing...
September 19, 2012 at 11:45 am
Hugo Kornelis (9/19/2012)
However, the official correct answer is still a bit questionable. (...)
Just to make a short comment. I do not completely disagree with you. It is documented that the...
September 19, 2012 at 11:34 am
Evgeny Garaev (9/18/2012)
create table #Test (ID int primary...
September 19, 2012 at 12:43 am
In most scenarios, I would say that both should fail as SQL Server does/should not have access to create files on the system drive, but that is a different scenario...
September 17, 2012 at 1:10 am
Good question, as others I overlooked the zero and hence got it wrong.
August 23, 2012 at 1:16 am
Viewing 15 posts - 16 through 30 (of 440 total)