SQLDisconnect
Function
Closes the connection associated with a specific connection handle.
Prototype
c
SQLRETURN SQLDisconnect(SQLHDBC ConnectionHandle);Parameters
Table 1 SQLDisconnect parameters
Return Values
SQL_SUCCESS: The call is successful.
SQL_SUCCESS_WITH_INFO: Some warning information is present.
SQL_ERROR:The connection failed to be released.
SQL_INVALID_HANDLE: The input handle is invalid.
Example
See: Example