Error 928

"Constant expressions must not appear in GROUP BY clause"

Item Description

SQLCode

-928L

Constant

NO_CONSTANTS_IN_GROUP_BY

SQLState

42W9D

ODBC 2 State

37000

ODBC 3 State

42000

Sybase Error Code

2592

Severity Code

15

Probable cause

You used a constant in the GROUP BY clause. Constants must not appear in the GROUP BY clause for a query. References to columns in a view that are constant are permitted in a GROUP BY clause. Also, expressions that use a view column that is constant are permitted.


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