Difference between revisions of "TXNISOLATION()"

From Recital Documentation Wiki
Jump to: navigation, search
(Class)
Line 1: Line 1:
==Class==
 
Transaction Processing
 
  
  

Revision as of 16:52, 28 October 2009


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 Database Server, Recital Mirage Server, Recital Terminal Developer