Skip to content

Latest commit

 

History

History
53 lines (36 loc) · 1.28 KB

SQLDisconnect.md

File metadata and controls

53 lines (36 loc) · 1.28 KB

Home

Function name : SQLDisconnect

Group: ODBC API - Library: odbc32


SQLDisconnect closes the connection associated with a specific connection handle.


Code examples:

Testing an ODBC connection for supporting specific functionality
Using vendor-neutral SQL constructs
Retrieveing general information about the driver and data source associated with an ODBC connection
Establishing connection using the SQLDriverConnect
Obtaining list of tables stored in an ODBC Data Source

Declaration:

SQLRETURN SQLDisconnect(
	SQLHDBC ConnectionHandle);  

FoxPro declaration:

DECLARE SHORT SQLDisconnect IN odbc32;
AS SQLDisconnect32;
		INTEGER ConnectionHandle  

Parameters:

ConnectionHandle [Input] Connection handle.


Return value:

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE.


Comments:

I guess I should not explain why this function is declared with an alias.