SQLFreeHandle

This function is a generic function to free environment, connection and statement handles.

Syntax :

RETCODE   SQLFreeHandle (handleType, handle);

Arguments:

The arguments fro SQLFreeHandle are listed in below table.

TypeNameDescription

SQLSMALLINT||HandleType||The type of handle to free|| SQLHANDLE||Handle||The handle to free||

Returns: SQLFreeHandle returns SQL_SUCCESS if it is successful else SQL_ERROR.

Back to CSQL ODBC API Reference

Page last modified on September 25, 2009, at 09:50 AM