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.
| Type | Name | Description |
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