Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4    Statistic  

SQL.GetAutoCommit

Checks whether autocommit is enabled or disabled for the current connection.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
SQL 2.6 Yes Yes Yes Yes Yes

MBS( "SQL.GetAutoCommit"; Connection )

Parameters

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

Result

Returns text "Unknown", "On", "Off" or error message.

Description

Checks whether autocommit is enabled or disabled for the current connection.

Function returns autocommit option state that was previously set by SQL.SetAutoCommit. Returns "Unknown" if no autocommit mode was set. In that case see DBMS specific documentation for default autocommit option used.

See also

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


SQL.FreeConnection   -   SQL.GetCommandOption

Feedback: Report problem or ask question.




Links
MBS FileMaker blog