SQLSetCursorName (core level only)
SQLSetCursorName associates a cursor name with an active hstmt.
If an application does not call SQLSetCursorName, the driver generates cursor names as needed for SQL statement processing.
The
following table describes the SQLSTATE and error values for SQLSetCursorName.
SQLSTATE | Error value | Error message |
---|---|---|
01000 | -11001 | General warning |
24000 | -11031 | Invalid cursor state |
34000 | -11034 | Invalid cursor name |
3C000 | -11036 | Duplicate cursor name |
S1000 | -11060 | General error |
S1001 | -11061 | Memory-allocation failure |
S1009 | -11066 | Invalid argument value |
S1010 | -11067 | Function-sequence error |
S1090 | -11071 | Invalid string or buffer length |