March 12, 2012 at 7:34 am
I got it for the right logical reason but on the wrong object (constraint, not temp table). Great question!
Peter Trast
Microsoft Certified ...(insert many literal strings here)
Microsoft Design Architect with Alexander Open Systems
March 12, 2012 at 9:14 pm
Great question.
But am I the only that thought that the syntax error was part of the question?
But even so there wouldn't be a right answer for that.
I didn't understand the explanations about the conflict in object names.
Doesn't that only happen with global temp tables (those starting with ##)?
EDIT: Nevermind. I read the error messages wrong.
Best regards,
Andre Guerreiro Neto
Database Analyst
http://www.softplan.com.br
MCITPx1/MCTSx2/MCSE/MCSA
March 14, 2012 at 7:52 pm
Good question. Thanks for submitting.
http://brittcluff.blogspot.com/
March 21, 2012 at 1:33 pm
Good question! Thanks.
April 4, 2012 at 9:02 pm
I did not continue to read the rest of the script after seeing the 2 "," back to back..
therefore, I have answered the last 2 .. since both will fail..
oh well, whatever..
Cheers,
John Esraelo
January 10, 2013 at 7:11 am
Can anyone help me in simulating the question in management studio without any application.
Thanks
--
Dineshbabu
Desire to learn new things..
January 10, 2013 at 7:16 am
Dineshbabu (1/10/2013)
Can anyone help me in simulating the question in management studio without any application.
Using Management Studio, create the stored procedure as specified in the question, but add a command WAITFOR DELAY '0:00:10'; to simulate the 10 second running time.
Now open two connections, and type EXEC GetData_Date; in both. Hit execute in one tab, switch to the other tab, then hit execute there.
January 10, 2013 at 11:13 pm
Hugo Kornelis (1/10/2013)
Dineshbabu (1/10/2013)
Can anyone help me in simulating the question in management studio without any application.Using Management Studio, create the stored procedure as specified in the question, but add a command WAITFOR DELAY '0:00:10'; to simulate the 10 second running time.
Now open two connections, and type EXEC GetData_Date; in both. Hit execute in one tab, switch to the other tab, then hit execute there.
Thanks Hugo..
I already tried this, but i used WAITFOR in exec statement, so i'm unable to simulate this... Now i got it..
--
Dineshbabu
Desire to learn new things..
September 4, 2013 at 6:15 am
Thought the typo was actually a trick so selected error for both. Turns out it's just a typo! 🙁
January 5, 2015 at 5:38 am
With some logical thinking, got it right, thanx 🙂
Thanks & Best Regards,
Hany Helmy
SQL Server Database Consultant
Viewing 10 posts - 31 through 39 (of 39 total)
You must be logged in to reply to this topic. Login to reply