|
|
SET SESSION
Sets the default transaction modes for transactions.
Usage
Embedded/Interactive/Procedural.
Description
SET SESSION READ
The SET SESSION READ option allows the default SET TRANSACTION READ setting to be defined.
The SET TRANSACTION READ statement only affects the single next transaction to be started after it has been used.
The default SET TRANSACTION READ setting is normally READ WRITE, however, SET SESSION READ can be used to set whichever default is desired for the current session.
SET SESSION ISOLATION LEVEL
The SET SESSION ISOLATION LEVEL option allows the default SET TRANSACTION ISOLATION LEVEL setting to be defined.
The SET TRANSACTION ISOLATION LEVEL statement only affects the single next transaction to be started after it has been used.
The default SET TRANSACTION ISOLATION LEVEL setting is normally REPEATABLE READ, however, SET SESSION ISOLATION LEVEL can be used to set whichever default is desired for the current session.
SET SESSION DIAGNOSTICS SIZE
The SET SESSION DIAGNOSTICS SIZE option allows the default size of the diagnostics area to be defined. The unsigned-integer value specifies how many exceptions can be stacked in the diagnostics area, and examined by GET DIAGNOSTICS, in situations where repeated RESIGNAL operations have effectively been performed. The default size is 50.
Restrictions
The SET SESSION statement may not be issued within a transaction.
Standard Compliance
Standard
Compliance
Comments
X/Open-95
SQL92 MIMER EXTENSION The SET SESSION statement is a Mimer SQL extension.
|
Upright Database Technology AB Voice: +46 18 780 92 00 Fax: +46 18 780 92 40 dbtechnology@upright.se |
|
|