Viewing 15 posts - 106 through 120 (of 1,033 total)
I agree with Tom as well.
Here's the question and answers
Will this code execute and return a value?
1. You will receive a syntax error
2. No. You cannot call from on SP...
March 1, 2013 at 10:18 am
Hugo Kornelis (3/1/2013)
DECLARE @i = 0;
WHILE @i < 10;
BEGIN
SET @i = 1; ...
March 1, 2013 at 9:56 am
ronmoses (3/1/2013)
March 1, 2013 at 9:53 am
ashwani24 (2/28/2013)
I guess answer is Yes as it compiled and executed successfully but sql server restricts for nested looping to 32 level so it fails after execution of 32 times.
+1...
March 1, 2013 at 9:50 am
demonfox (2/28/2013)
will this code execute successfully
it should have been mentioned as the 4th step..
also, it...
March 1, 2013 at 9:49 am
Good question.... Had to stare at it a while due to lack of sleep and too much food. Glad I figured it out and was able to asnwer it...
February 28, 2013 at 12:27 pm
Mike Hays (2/27/2013)
Ouch, my collation was SQL_Latin1_General_CP1_CS_AS. This became a lesson on collation instead of the OUTPUT clause. Opps.
No No... you mean WhOoPs! 🙂
February 27, 2013 at 6:53 am
Good question... +1 for me.
Shame on the typo... I didn't even notice the whoops vs Whoops issue until I read the thread in here.
February 27, 2013 at 6:52 am
thanks for the question... was looking for a gotcha.... couldn't find one... answered what I thougt it would be... and was right for a change 🙂
February 27, 2013 at 6:49 am
Stewart "Arturius" Campbell (2/22/2013)
These utilities were deprecated in SQL2008 and discontinued with SQL2012.
Exactly... I was trying to identify that which had been deprecated. I know Profiler is deprecated in...
February 22, 2013 at 9:21 am
Dineshbabu (2/21/2013)
February 22, 2013 at 9:13 am
Koen Verbeeck (2/18/2013)
Spent 10 minutes looking for the catch, only to realize there wasn't one.Thanks for the question.
I spent another 2-3 re-reading the phrase because it reads very oddly written...
February 19, 2013 at 8:47 am
And the other thing to keep in mind is that if we don't occasionally mention SQL injection attacks and how to prevent them, we run the risk of developers in...
February 18, 2013 at 9:30 am
Stewart "Arturius" Campbell (2/14/2013)
Good back-to-basics question, thanks Lokesh
+1. Had to think for a second about it... which is about all I have in thinking power today anyway. 🙂
February 15, 2013 at 10:39 am
Yes, I wanted to post above what the fix was in case anybody else runs into this.
If you're going from 2012 SP1 to 2005 SP3 (probably from 2012 of any...
February 15, 2013 at 10:35 am
Viewing 15 posts - 106 through 120 (of 1,033 total)