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.
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
Post a Comment