ASA Error Messages
Database Error Messages
Alphabetic list of error messages
Item | Value |
---|---|
SQLCODE | -866 |
Constant | SQLE_BAD_RESULT_SET |
SQLSTATE | WP012 |
Sybase error code | 13870 |
ODBC 2 State | ERROR |
ODBC 3 State | ERROR |
Parameter 1 | Name of the procedure that returned the incorrect result set. |
When calling a procedure in the FROM clause of a SELECT statement, the expected schema of the result is taken from the WITH clause. If no WITH clause is given, the expected schema is taken from SYSPROCPARM. The result set returned from the call must match the expected schema or it must be possible to convert every column so that it matches.