Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere 10 - Error Messages » Database Error Messages » Alphabetic list of error messages

Connections to database have been disabled Next Page

Constant expressions may not appear in GROUP BY clause


Item

Value

Constant

SQLE_NO_CONSTANTS_IN_GROUP_BY

ODBC 2 State

37000

ODBC 3 State

42000

Severity

15

SQLCODE

-928

SQLSTATE

42W9D

Sybase error code

13557

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.