Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
SQL.GetCommandOption
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
MBS(
"SQL.GetCommandOption"; /* Gets a string value of a specific command option. */
$Command; /* The command reference number gained with
SQL.NewCommand. */
$Key) /* A string key of the command option.e.g. "" */
Less
Parameters
Parameter |
Description |
Example |
Command |
The command reference number gained with SQL.NewCommand. |
$Command |
Key |
A string key of the command option. |
"" |
Result
Returns value or error message.
Description
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
https://www.sqlapi.com/ApiDoc/class_s_a_command.html
See also
Release notes
This function is free to use.
Created 18th August 2014, last changed 10th January 2020
SQL.GetAutoCommit
-
SQL.GetCommandOptions