August 18, 2013 at 1:31 pm
Nice one, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
August 18, 2013 at 8:25 pm
August 18, 2013 at 11:15 pm
Easy one at start of the week 🙂
Thanks
_______________________________________________________________
To get quick answer follow this link:
http://www.sqlservercentral.com/articles/Best+Practices/61537/
August 18, 2013 at 11:33 pm
kapil_kk (8/18/2013)
Easy one at start of the week 🙂Thanks
+1 🙂
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
August 19, 2013 at 12:53 am
Ohh Gosh... Caught in the trap. Not a good start for the week. :sick:
It was just another "be on your toes" QOTD. 🙂
August 19, 2013 at 12:55 am
Ohh Gosh... Caught in the trap. :sick: Not a good start to the week for me.
It was one of those "on your toes" QOTD. 🙂
August 19, 2013 at 2:36 am
I knew the RETURN would kick in with a value of 1 so decided that that was one row returned :crazy:
August 19, 2013 at 2:58 am
Got it. But to be precise there won't even be a result set. Not even one with zero rows.
August 19, 2013 at 6:24 am
Thanks, easy question 🙂
August 19, 2013 at 6:36 am
+1 😎
August 19, 2013 at 6:59 am
Good QotD...As usual, it seems the best way to learn new items is to take a little quiz on them. I learned a couple of new things today..just not related to the point of the question.
First, I thought it was going to throw a syntax error on this statement, but it is valid. I guess it will once you add a new column to the table, it will give you some grief.
INSERT INTO @TABLE
SELECT @a
Second, I have used compound operators in C#, but not in SQL.
http://msdn.microsoft.com/en-us/library/cc645922.aspx
Anton
August 19, 2013 at 7:18 am
I am not getting why the answer is zero rows
August 19, 2013 at 7:25 am
M07 (8/19/2013)
I am not getting why the answer is zero rows
The select from the table variable is at the end of the procedure, but the procedure is exited at the return statement. The select is never executed. Hope this helps.
August 19, 2013 at 7:28 am
thanks its helpful
Viewing 15 posts - 1 through 15 (of 27 total)
You must be logged in to reply to this topic. Login to reply