DB_Rollback Function

Action

Rolls back a transaction.

Include file

DBAPI.bdh

Syntax

DB_Rollback(in hDBC: number): number;

Return value

SQL return code

Parameter Description
hDBC Valid handle to a database connection. This handle must have been returned from a previous call to DB_Connect.

Example

rCode := DB_Rollback(hDBC);

Sample scripts

DBApi01.bdf, Trans.bdf, MutexLogin.bdf