standard.db.sql.ODBCStatement

ODBCStatement is available since version 1.0.

Prototype:

number ODBCStatement([number connectionID])

Parameters

connectionID
the ID identifying the connection as returned by ODBCDriverConnect or ODBCConnect. If this parameter is missing, this will affect the first connection created.

Description:

Create an empty result set. This function is useful only when working with bound parameters ({ODBCAddParamter}, ODBCClearParameters and queries executed via ODBCExecute). When working with ODBCExecuteQuery you should NOT create a statement (ODBCExecuteQuery creates one for you).

Return value:

Return a new empty result set handle (on which you can call ODBCExecute), or null if failed.