Error 1237

"Too many columns in procedure result set"

Item Description

SQLCode

-1237L

Constant

TOO_MANY_COLUMNS_IN_PROC_RES

SQLState

54W15

ODBC 2 State

ERROR

ODBC 3 State

ERROR

Sybase Error Code

2916

Severity Code

16

Probable cause

You executed a statement with too many expressions in the GROUP BY list. The number of expressions within a GROUP BY list is limited to 60000. You executed a CREATE PROCEDURE or ALTER PROCEDURE statement. The resulting number of columns in the result set of the procedure would exceed the server's limit.


Created May 6, 2011. Send feedback on this help topic to Sybase Technical Publications: pubs@sybase.com