6. Working with Transactions and Handling Errors : Transactions : Set Autocommit On--Commit Individual Statement : How to Determine if You Are in a Transaction
 
Share this page                  
How to Determine if You Are in a Transaction
To determine whether you are in a transaction, use the INQUIRE_SQL (see page INQUIRE_SQL) statement.
To find out if autocommit is on or off, use the DBMSINFO function (see page DBMSINFO Function--Return Information About the Current Session).