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.0
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
Statistic
FMM
Blog
SQL.FreeCommand
Frees the command and releases all memory associated with it.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
SQL | 2.6 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "SQL.FreeCommand"; Command ) More
Parameters
Parameter | Description | Example |
---|---|---|
Command | The command reference number gained with SQL.NewCommand. | $Command |
Result
Returns "OK" or error message.
Description
Frees the command and releases all memory associated with it.Examples
Free command object:
MBS( "SQL.FreeCommand"; $Command )
See also
- SQL.GetFieldAsText
- SQL.GetFieldsAsJSON
- SQL.GetParamsAsJSON
- SQL.InsertOrUpdateRecords
- SQL.InsertRecords
- SQL.NewCommand
- SQL.ResetCommand
- SQL.SetParamAsContainer
- SQL.SetParamTypesValues
- SQL.SetParamValues
Release notes
- Version 9.3
- Fixed potential crash with SQL.FreeCommand and SQL.FreeConnection in server scripts.
Example Databases
- SQL to other databases/Microsoft Access Execute
- SQL to other databases/Microsoft SQL Execute
- SQL to other databases/Microsoft SQL Server Connect
- SQL to other databases/MySQL Query
- SQL to other databases/ODBC Query
- SQL to other databases/PostgreSQL Query
- SQL to other databases/SQL Export
- SQL to other databases/SQLite blob
- SQL to other databases/SQLite fun
- Third Party/FileMaker Snippet Storage
Blog Entries
- Moving data from ODBC to FileMaker via script
- Transactions with SQL functions
- MBS FileMaker Plugin, version 9.3pr7
- Tip of the day: Connect to MySQL and run a query
FileMaker Magazin
This function does not need a paid license.
Created 18th August 2014, last changed 7th December 2015
