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

FM.SQL.Release

Releases memory used for the SQL result.

Component Version macOS Windows Linux Server iOS SDK
FM FMSQL 5.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "FM.SQL.Release"; SQLref )   More

Parameters

Parameter Description Example
SQLref The reference number returned by FM.SQL.Execute function. $SQLRef

Result

Returns OK or error.

Description

Releases memory used for the SQL result.

Examples

Run command and free it later:

Set Variable [ $ref ; Value: MBS( "FM.SQL.Execute"; ""; "SELECT * FROM ProductImages FETCH FIRST 1 ROWS ONLY") ]
# ...
Set Variable [ $r ; Value: MBS( "FM.SQL.Release"; $ref ) ]

See also

Release notes

Example Databases

Blog Entries

This function checks for a license.

Created 18th April 2015, last changed 24th February 2026


FM.SQL.Min - FM.SQL.ReleaseAll