Difference between revisions of "TXLEVEL()"

From Lianjapedia
Jump to: navigation, search
 
m (1 revision: SQL)
(No difference)

Revision as of 04:17, 25 October 2011

Purpose

Function to return the current Transaction Isolation Level setting


Syntax

TXLEVEL()


See Also

CLOSE, Configuration Files, DECLARE CURSOR, DROP CURSOR, FETCH, OPEN, SELECT, SET TRANSACTION, TXNISOLATION(), TXNLEVEL()


Description

The TXLEVEL() function returns the current Transaction Isolation Level 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
? txlevel()
UNCOMMITTED


Products

Recital Server, Recital