Disposes the DB connection object specified by its parameter. If there is an active SQL connection to a database, the SQL connection has to be closed before disposal.
This function can be called in the foreground or background.
Syntax
SQLDispose(hSQL)
hSQL:
The handle to the DB connection object, returned from either the SQLCreate() or SQLConnect() function. The handle identifies the DB connection object where details of the associated SQL connection are stored.
Return Value
0 – if success, otherwise an error code (For details call the SQLErrMsg() function).
Related Functions
SQLCreate, SQLOpen, SQLClose, SQLDispose, SQLConnect, SQLDisconnect, SQLInfo
Example
See SQLCreate.
See Also
Published June 2018