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


Opens the specified command object.

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


Parameter Description Example
Command The command reference number gained with SQL.NewCommand. $Command


Returns "OK" or error message.


Opens the specified command object.
Use the Open method to open the command explicitly.
A command will be implicitly opened by any method that needs an open command, therefore you don't have to call it explicitly.
To test whether a command is opened use isOpened method.

See also

This function is free to use.

Created 18th August 2014, last changed 13th January 2015

SQL.NewConnection - SQL.ParamCount