SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2008 Forums
 Transact-SQL (2008)
 Interrupt connection without both Rollback
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ciupaz
Posting Yak Master

Italy
232 Posts

Posted - 04/04/2013 :  04:40:23  Show Profile  Reply with Quote
Hello all,
in SQL Server 2008 if the connection between my application and the database is broken during a long Update execution under a transaction, what happen? A rollback is call or a commit?

Luigi

bandi
Flowing Fount of Yak Knowledge

India
2202 Posts

Posted - 04/04/2013 :  04:46:22  Show Profile  Reply with Quote
Roll back will happen...
Refer the following link ("Errors During Transaction Processing")
http://msdn.microsoft.com/en-us/library/ms175523(v=sql.105).aspx
Go to Top of Page

Ciupaz
Posting Yak Master

Italy
232 Posts

Posted - 04/04/2013 :  04:59:19  Show Profile  Reply with Quote
So a rollback happen.
Thank you Bandi.

Luigi
Go to Top of Page

bandi
Flowing Fount of Yak Knowledge

India
2202 Posts

Posted - 04/04/2013 :  05:01:24  Show Profile  Reply with Quote
quote:
Originally posted by Ciupaz

So a rollback happen.
Thank you Bandi.
Luigi

welcome

--
Chandu
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.19 seconds. Powered By: Snitz Forums 2000