Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
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 is free to use.
Created 18th August 2014, last changed 7th December 2015
