Too many expressions in GROUP BY list for ROLLUP, CUBE, or GROUPING SETS operation

Error constant SQLE_TOO_MANY_GROUPING_EXPRESSIONS
ODBC 2 State 37000
ODBC 3 State 42000
Severity 15
SQLCODE –944
SQLSTATE 42WA1
Sybase error code 13544
Probable cause

You specified too many expressions in the GROUP BY list for the requested ROLLUP, CUBE, or GROUPING SETS operation. The current environment where SQL Anywhere is executing cannot support this number of expressions in the GROUP BY list for the requested operation.