Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
SQL.SetIsolationLevel
Sets the transaction isolation level.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SQL | 2.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SQL.SetIsolationLevel"; Connection; IsolationLevel ) More
Parameters
Parameter | Description | Example |
---|---|---|
Connection | The connection reference number gained with SQL.NewConnection. | $Connection |
IsolationLevel | The new isolation level. One of the following strings: ReadUncommitted, ReadCommitted, RepeatableRead or Serializable. | "ReadUncommitted" |
Result
Returns "OK" or error message.
Description
Sets the transaction isolation level.see also:
https://www.sqlapi.com/ApiDoc/class_s_a_connection.html
See also
This function is free to use.
Created 18th August 2014, last changed 10th January 2020