September 24, 2012 at 9:01 pm
Comments posted to this topic are about the item Transactions
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
September 24, 2012 at 9:04 pm
September 24, 2012 at 10:03 pm
I shouldn't try to answer the QOTD when I have been working for 15 hours. Nice question Lokesh!
September 24, 2012 at 10:19 pm
A little attempt from me to make "DDL inside transactions" more informative. Hope you all like it 🙂
http://sqlpathy.wordpress.com/2012/09/25/myth-truncate-cannot-rollback/
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
September 24, 2012 at 11:20 pm
Nice question, thanks.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP
September 25, 2012 at 12:14 am
Really very good information. Keep it up !
Thanks
Vinay Kumar
-----------------------------------------------------------------
Keep Learning - Keep Growing !!!
September 25, 2012 at 12:23 am
A good question; thanks!
However, I did find myself staring at the wording for a bit before answering - and hoping that my interpretation was the correct one. The term "failing" can be ambiguous. Some people might argue that "failing" also includes running without error but not rolling back changes on a rollback. And I even considered the possibility that the question was phrased by a non-native speaker who intended to ask which code fragments would have a permanent effect (e.g. the rollback would not affect the DDL statement).
Maybe a better way to phrase this would have been to ask "which fragments run without generating an error".
PS: The above is not meant to criticize, but to help Lokesh and other question authors think about possible ambiguity when submitting future QotD's.
September 25, 2012 at 1:36 am
Interesting one.:-) thank you Lokesh-ji
ww; Raghu
--
The first and the hardest SQL statement I have wrote- "select * from customers" - and I was happy and felt smart.
September 25, 2012 at 2:52 am
Hugo Kornelis (9/25/2012)
A good question; thanks!However, I did find myself staring at the wording for a bit before answering - and hoping that my interpretation was the correct one. The term "failing" can be ambiguous. Some people might argue that "failing" also includes running without error but not rolling back changes on a rollback. And I even considered the possibility that the question was phrased by a non-native speaker who intended to ask which code fragments would have a permanent effect (e.g. the rollback would not affect the DDL statement).
Maybe a better way to phrase this would have been to ask "which fragments run without generating an error".
PS: The above is not meant to criticize, but to help Lokesh and other question authors think about possible ambiguity when submitting future QotD's.
Thanks Hugo. Much appreciated 🙂
~ Lokesh Vij
Link to my Blog Post --> www.SQLPathy.com[/url]
Follow me @Twitter
September 25, 2012 at 3:00 am
nice and easy ...
I must say i like the permutation ..I had to search the answer within multiple options ..
Thanks for the question !!
~ demonfox
___________________________________________________________________
Wondering what I would do next , when I am done with this one :ermm:
September 25, 2012 at 3:19 am
Thanks! Learned something.
September 25, 2012 at 4:04 am
Gaarrr!!! :angry:
Even though I knew the answer was "Success, Fail, Success" for some dumb @ss reason I clicked the inversion and selected "Fail, Success, Fail" aaaaargh!!
:w00t:
_____________________________________________________________________
[font="Comic Sans MS"]"The difficult tasks we do immediately, the impossible takes a little longer"[/font]
September 25, 2012 at 4:44 am
Good one. 😎
September 25, 2012 at 5:55 am
This was removed by the editor as SPAM
September 25, 2012 at 6:47 am
Thank you for the great question.
Viewing 15 posts - 1 through 15 (of 26 total)
You must be logged in to reply to this topic. Login to reply