View Single Post

   
  #1 (permalink)  
Old 02-29-2008, 04:37 AM
Tyler Hudson
 
Posts: n/a
Default Dangers of Client batch cancellation

After reading Erland Sommarskog's most enlightening articles on SQL Server
2000's error handling capabilities
(http://www.sommarskog.se/error-handling-I.html and
http://www.sommarskog.se/error-handling-II.html) I have a question regarding
batch cancellation caused by a client.

Because a batch cancel request from a client does not cause a rollback, is
there any danger of the commands that were executed in the batch before the
client cancelled to be persistent in the database since no commit is ever
called? Or is the real problem indefinite locking that only disappears when
the client connection is terminated?

Any insights are appreciated!


Regards,


Tyler


Reply With Quote