standard.db.sql.ODBCRollback

ODBCRollback is available since version 1.0.

Prototype:

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

Roll back 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.