DB_Commit Function

Action

Commits a transaction.

Include file

DBAPI.bdh

Syntax

DB_Commit(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_Commit(hDBC);

Sample scripts

DBApi01.bdf, Trans.bdf, MutexLogin.bdf