CHAPTER 10 Database Error Messages
719
Aggregate functions not allowed on this statement
Item Value
SQLCODE -150
Constant SQLE_AGGREGATES_NOT_ALLOWED
SQLSTATE 42W06
Sybase error code 13204
ODBC 2 State 37000
ODBC 3 State 42000
You used an UPDATE statement with an aggregate function.
Alias ’%1’ is not unique
Item Value
SQLCODE -830
Constant SQLE_ALIAS_NOT_UNIQUE
SQLSTATE 42W60
Sybase error code 13836
ODBC 2 State 37000
ODBC 3 State ERROR
Parameter 1 Name of the alias.
The same alias is used more than once in a SELECT list.
Probable cause
Probable cause