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


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


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


Returns OK or error.


Releases memory used for the SQL result.


Run command and free it later:

$ref = MBS( "FM.SQL.Execute"; ""; "SELECT * FROM ProductImages FETCH FIRST 1 ROWS ONLY")
$r = 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 1st August 2016

FM.SQL.Min - FM.SQL.ReleaseAll