sql - Why is not needed to declare the begining of a transaction? -


the title explains everything. why not needed declare begining of transaction, needed explicitly declare end?

because possible determine when transaction must started - when first statement executed (there possibility explicitly begin it, since might want enter before statements ready run).

but it's not obvious when you're done. may finish logical unit of work after query, or 10 hours , million more queries after.


Comments

Popular posts from this blog

java - How to print docx and pdf? -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

c# - How to use process.StartInfo.Arguments in command prompt? -