Programming Guide : Working with a Database : How You Can Manage Transactions : How You Can Use the Exit Statement with Transactions
 
Share this page          
How You Can Use the Exit Statement with Transactions
The effect of the exit statement on an open transaction is undefined. Before exiting an application, your application should check for open transactions and provide some procedure for any that are found. Any open cursors are closed on exit.