Closes the SQL connection to a database and disposes the DB connection object specified by the function parameter.
This function is a blocking function and should not be called from a foreground task.
Syntax
SQLDisconnect(hSQL)
hSQL:
The handle to the DB connection object, returned from the 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 SQLConnect
See Also
Published June 2018