SQLFreeConnect releases a connection handle and frees all memory associated with the handle.
The following table describes the SQLSTATE and error values for SQLFreeConnect.
| SQLSTATE | Error Value | Error Message |
|---|---|---|
| 01000 | -11001 | General warning |
| 08S01 | -11020 | Communication-link failure |
| S1000 | -11060 | General error |
| S1010 | -11067 | Function-sequence error |