Viewing 15 posts - 346 through 360 (of 658 total)
I didn't even notice the conusion about the 'rename_by_alter' instructions. I was already aware of the behaviour of sp_rename/sp_helptext, so0 that ruled out the 1st option. 2 and 3 were...
December 12, 2012 at 2:20 am
DavidBridgeTechnology.com (12/10/2012)
December 10, 2012 at 8:00 am
The explanation is fine for the second example.
But there's no mention of why a NULL value for 'replace with' returns a non-null result.
This confused me when I first came across...
December 10, 2012 at 4:56 am
Richard Warr (12/7/2012)
Bit worrying how many people found this easy without giving any consideration to what the default schema might be for the user.
How do you know whether they considered...
December 7, 2012 at 5:13 am
Hugo Kornelis (12/6/2012)
Exactly WHAT is aggregated by the GROUPING_ID function??
That's exactly the conversation I had with myself. Was this a trick question or not? In the end I went with...
December 6, 2012 at 6:45 am
Shame about the endless complaints about the semi-colon (does nobody ever read the thread before adding to it?)
The easy way to have avoided confusion as to whether the syntax error...
December 5, 2012 at 1:57 am
philip.cullingworth (12/3/2012)
It appears on our...
December 3, 2012 at 4:55 am
I didn't understand the question at all, so guessed. Having read the explanation I was none the wiser.
So I tried it, and the execution plan was empty.
confused.com
November 28, 2012 at 2:20 am
Not sure how this one got through quality control, as the explanation is entirely wrong.
The value of '1900-01-01' does not arise because of any default - the default will not...
November 27, 2012 at 2:46 am
Koen Verbeeck (11/26/2012)
I wonder why the explanation talks about EXCEPT when none of the answers use it.
+1 😉
November 26, 2012 at 2:17 am
There's an explanation of sorts here
http://msdn.microsoft.com/en-us/library/ms188043(SQL.105).aspx
(in the comments section at the end)
November 23, 2012 at 2:10 am
There'd have been a few more wrong answers if it weren't for the "select 2" hint...
November 15, 2012 at 2:31 am
Rather complicated!
But easy to guess the right answer, as there had to be at least 2 rows in #temp (the 2 inserted outside the loop) which ruled out half the...
November 13, 2012 at 2:12 am
Why would you define your variables as int if you are going to do non-integer calculations with them? Change the declarations to
declare @Quota1 real, @Quota2 real, @Quota3 real, @Value real;
and...
October 24, 2012 at 3:02 am
Viewing 15 posts - 346 through 360 (of 658 total)