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


Gets a string value of a specific command option.

Component Version macOS Windows Linux Server iOS SDK
SQL 2.6 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "SQL.GetCommandOption"; Command; Key )   More


Parameter Description Example
Command The command reference number gained with SQL.NewCommand. $Command
Key A string key of the command option. ""


Returns value or error message.


Gets a string value of a specific command option.

Call this method to get value(s) of server specific command options. See Server specific notes.

A command related option may be specified in either connection object or SACommand object. If it is specified in connection object it affects all the commands on that connection.

If an option is not specially assigned to the command object the Library takes this option from related connection object (see SQL.GetConnectionOption method). If an option is not specified in neither command nor connection objects, the Library takes the default option value.

see also

See also

Release notes

This function is free to use.

Created 18th August 2014, last changed 10th January 2020

SQL.GetAutoCommit - SQL.GetCommandOptions