SQLFreeStmt
SQLFreeStmt is not recommended in ODBC 3.0 and later. The SQL Native Client ODBC driver supports all defined Option values for SQLFreeStmt. However, SQLCloseCursor, SQLBindParameter, SQLBindCol, SQLSetDescField, and SQLFreeHandle replace or duplicate the function of SQLFreeStmt and should be used instead.
See Also
Concepts
ODBC API Implementation Details