SQLGetCursorName (core level only)

SQLGetCursorName returns the cursor name associated with a specified hstmt.

The following table describes the SQLSTATE and error values for SQLGetCursorName.
SQLSTATE Error value Error message
01000 -11001 General warning
01004 -11003 Data truncated
S1000 -11060 General error
S1001 -11061 Memory-allocation failure
S1010 -11067 Function-sequence error
S1015 -11070 No cursor name available
S1090 -11071 Invalid string or buffer length