SQLFreeEnv frees the environment handle and releases all memory associated with the environment handle.
The following table describes the SQLSTATE and error values for SQLFreeEnv.
| SQLSTATE | Error Value | Error Message |
|---|---|---|
| 01000 | -11001 | General warning |
| S1000 | -11060 | General error |
| S1010 | -11067 | Function-sequence error |