sql server - How can have a SQL connection that is sleeping a pending transaction? -


i'm facing locks @ our db server created our application. don't understand how process sleeping having open transaction (that process 71 1 creating lock).

as far know when process finishes closes opened transactions. rigth?

thanks in advance mates.

alt text

as far know when process finishes closes opened transactions. right?

no. if explicitly open transaction must explicitly commit or rollback. until time transaction remains open possible connection idle (not processing task) still have uncommitted transaction.

many people expect error automatically roll transaction not case unless have

set xact_abort on 

Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -