TXNISOLATION()
From Recital Documentation Wiki
Revision as of 16:04, 5 November 2009 by Yvonnemilne (Talk | contribs)
Purpose
Function to return the current Transaction Isolation Level setting
Syntax
TXNISOLATION()
See Also
BEGIN TRANSACTION, COMMIT, COMPLETED(), END TRANSACTION, RESET IN, ROLLBACK, ROLLBACK(), SET ROLLBACK, SET TRANSACTION, TXNLEVEL()
Description
The TXNISOLATION() function returns the current Transaction Isolation setting. The Transaction Isolation Level is set using the SET TRANSACTION [ISOLATION LEVEL <level>] command.
The Transaction Isolation Level can be any of the following, please see the SET TRANSACTION Set Command for full details:
- SERIALIZABLE
- REPEATABLE READ
- READ COMMITTED
- READ UNCOMMITTED
Example
set transaction isolation level read uncommitted; cTrans = txnisolation()
Products
Recital, Recital Server