Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

SQL.GetIsolationLevel

Gets the transaction isolation level.

Component Version macOS Windows Linux Server iOS SDK
SQL 2.6 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SQL.GetIsolationLevel"; Connection )   More

Parameters

Parameter Description Example
Connection The connection reference number gained with SQL.NewConnection. $Connection

Result

Returns level name or error message.

Description

Gets the transaction isolation level.

Function returns isolation level that was previously set by SQL.SetIsolationLevel. Returns "Unknown" if no isolation level was set. In that case see DBMS specific documentation for default isolation level used.

Returns one of the following strings: ReadUncommitted, ReadCommitted, RepeatableRead, Serializable or Unknown.

See also

This function is free to use.

Created 18th August 2014, last changed 18th August 2014


SQL.GetFieldsAsJSON - SQL.GetParamAsBoolean