DB_Disconnect Function

Action

Disconnects from the database system and releases all resources.

Include file

DBAPI.bdh

Syntax

DB_Disconnect(inout 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_Disconnect(hDBC);

Sample scripts

Trans.bdf, MutexLogin.bdf