Viewing 15 posts - 616 through 630 (of 825 total)
tommyh (10/3/2011)
The other being that the answer is wrong. They both perform equally. I have...
October 3, 2011 at 2:42 am
shayk (9/22/2011)
Nice, but the SP unnecessary. You can write in the SSMS "Select TOP 50 * FROM "
I also use this "Select TOP 50 * FROM ". It is better...
September 22, 2011 at 1:17 am
Olga B (9/13/2011)
select 0 [A]
A fun bug to find when I accidentally delete a comma and then try to figure out what's...
September 14, 2011 at 1:56 am
Tom.Thomson (9/13/2011)
The misprints in the explanation may have left some people confused. All three alias forms are wrong (1st missing "= <", second and third...
September 14, 2011 at 1:41 am
Unfortunately, the editor to contribute with a question, sometime, changes the text both in the question and more often in the explanation. Yesterday, the explanation of "Unary & Aliases" was...
September 14, 2011 at 1:37 am
I immediately get it right, because I often fall in these kind of errors.
September 6, 2011 at 1:07 am
INSERTED pulls from what is entered into table, not from the select list.
Of course!
August 26, 2011 at 12:47 am
OCTom (8/3/2011)
ronmoses (8/3/2011)
Carlo Romagnano (8/3/2011)
August 3, 2011 at 6:35 am
paul s-306273 (8/3/2011)
DugyC (8/3/2011)
Interesting question, and something definitely to be aware of.Thanks
I'm not convinved that I need to be aware of this.
Interesting question though.
I agree with you.
August 3, 2011 at 3:13 am
EXISTS check if subquery returns ROWS and does not execute EXPRESSION or read column value. So, in this case divide by zero is never executed, but ONE ROW exists.
August 3, 2011 at 2:44 am
I like dirty "solutions". In extreme cases, I know that a way exists. 😀
July 21, 2011 at 12:55 am
I would replace the question "How many rows returned by executing all of the following?" in "How many rows returned by the last SELECT?" and add another answer: "None, because...
July 20, 2011 at 2:49 am
But if that is not the case then the answer should be "There is NO query returning rows."
I agree with you!
July 20, 2011 at 1:33 am
Toreador (6/24/2011)
I wonder which of the following (if either) is more efficient:
select @a = 1 where @b = 0or
if @b = 0 set @a = 1
The best one seems to...
June 24, 2011 at 9:52 am
Viewing 15 posts - 616 through 630 (of 825 total)