SQLFreeEnv() - Free an environment handle

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

ODBC specifications for SQLFreeEnv()

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

Syntax

SQLRETURN   SQLFreeEnv       (SQLHENV           henv);

Function arguments

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

Table 2. SQLFreeEnv arguments
Data type Argument Use Description
SQLHENV henv input Environment handle