standard.db.sql.ODBCCommit

ODBCCommit is available since version 1.0.

Prototype:

number ODBCCommit([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:

Commit the data.

Note: This function can be called only if the auto commit flag is set to false by calling ODBCAutoCommit.

Return value:

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