SQL/MP Messages Manual

SQL Compiler Normalizer Messages (5000 to 5999)
HP NonStop SQL/MP Messages Manual427720-006
7-11
SQL 5102
Cause. An ORDER BY clause was specified in a subquery block.
Effect. The statement does not compile.
Recovery. Specify only one ORDER BY clause as the last clause of the outermost
SELECT statement.
SQL 5103
Cause. You specified an aggregate function with a non-column as argument. For
example, MAX(salary+2) is invalid.
Effect. The statement does not compile.
Recovery. Correct the argument to be a column name and recompile.
5102 A subquery cannot contain an ORDER BY clause.
5103 A non-column as argument of aggregate function, possibly
after view expansion.