SQLBindCol assigns the storage and Informix ODBC Driver C data type for a column in a result set, as follows:
The following table describes the SQLSTATE and error values for SQLBindCol.
| SQLSTATE | Error Value | Error Message |
|---|---|---|
| 01000 | -11001 | General warning |
| S1000 | -11060 | General error |
| S1001 | -11061 | Memory-allocation failure |
| S1002 | -11062 | Invalid column number |
| S1003 | -11063 | Program type out of range |
| S1010 | -11067 | Function-sequence error |
| S1090 | -11071 | Invalid string or buffer length |
| S1C00 | -11092 | Driver not capable |