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.
请参阅
概念
ODBC API Implementation Details