SQLFreeConnect() - Free a connection handle

SQLFreeConnect() is a deprecated function and is replaced by SQLFreeHandle().

ODBC specifications for SQLFreeConnect()

Table 1. SQLFreeConnect() specifications
ODBC specification level In X/Open CLI CAE specification? In ISO CLI specification?
1.0 (Deprecated) Yes Yes

Syntax

SQLRETURN   SQLFreeConnect   (SQLHDBC           hdbc);

Function arguments

The following table lists the data type, use, and description for each argument in this function.

Table 2. SQLFreeConnect() arguments
Data type Argument Use Description
SQLHDBC hdbc input Connection handle