TXNISOLATION()

From Recital Documentation Wiki
Revision as of 14:52, 20 March 2009 by Yvonnemilne (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

TXNISOLATION()

Class

Transaction Processing


Purpose

Function to return the current Transaction Isolation Level setting


Syntax

TXNISOLATION()


See Also

BEGIN…END TRANSACTION, RESET IN, ROLLBACK, COMPLETED(), ROLLBACK(), TXNLEVEL(), SET ROLLBACK, SET TRANSACTION


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