Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 1.54 KB

File metadata and controls

25 lines (21 loc) · 1.54 KB
title description author ms.author ms.date ms.service ms.subservice ms.topic helpviewer_keywords apitype
SQLFreeStmt
SQLFreeStmt
markingmyname
maghan
11/23/2015
sql
native-client
reference
SQLFreeStmt function
DLLExport

SQLFreeStmt

[!INCLUDESQL Server Azure SQL Database Synapse Analytics PDW]

Generally
SQLFreeStmt is not recommended in ODBC 3.0 and later. However if the application needs to reuse the statement you should still use SQLFreeStmt with the SQL_RESET_PARAMS and SQL_UNBIND options). You might also use SQLCloseCursor, SQLBindParameter, SQLBindCol, SQLSetDescField, and SQLFreeHandle to replace or duplicate the function of SQLFreeStmt and should use them instead.

In general, it is more efficient to reuse statements than to drop them and allocate new ones. However in some situations, like the reusing of statements, SQLFreeStmt still must be used.

See Also

SQLFreeStmt Function
ODBC API Implementation Details