SQLGetConnectOption (level one only)
SQLGetConnectOption returns the current setting of a connection option.
The following table describes the SQLSTATE and error values
for SQLGetConnectOption.
| SQLSTATE | Error value | Error message |
|---|---|---|
| 01000 | -11001 | General warning |
| 08003 | -11017 | Connection not open |
| S1000 | -11060 | General error |
| S1001 | -11061 | Memory-allocation failure |
| S1010 | -11067 | Function-sequence error |
| S1092 | -11073 | Option type out of range |
| S1C00 | -11092 | Driver not capable |