standard.db.sql.ODBCBindResult

ODBCBindResult is available since version 1.0.

Prototype:

number ODBCBindResult(number statement)

Parameters

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

Description:

Bind the results of a ODBCExecuteQuery or ODBCExecute. You must call this function in order to have access to the values in the result set.

Return value:

Return -1 if failed (call ODBCError to retrieve the error), 1 if the result set contains no data, 3 if the binding failed, 4 if the binding of a LOB object failed or 0 if succeeded.