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

Item Value
SQLCODE -944
Constant SQLE_TOO_MANY_GROUPING_EXPRESSIONS
SQLSTATE 42WA1
Sybase error code 13544
ODBC 2 State 37000
ODBC 3 State 42000

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 Adaptive Server Anywhere is executing cannot support this number of expressions in the GROUP BY list for the requested operation.