standard.db.sql.ODBCFreeResult

ODBCFreeResult is available since version 1.0.

Prototype:

number ODBCFreeResult(number statement)

Parameters

statement
[in] the statement handle (or result set) as returned by ODBCStatement, ODBCListTables, ODBCListColumns, ODBCListTypes or ODBCExecuteQuery

Description:

Free the result set. This function should be called after finishing dealing with the bound data (via {ODBCBind) in order to free the allocated data.

Return value:

Return -1 if failed (call ODBCError to retrieve the error) or 0 if succeeded.