HomeOracleOracle Error PLS-00423: ORDER BY item must be the number of a SELECT-list expression

Oracle Error PLS-00423: ORDER BY item must be the number of a SELECT-list expression

Oracle Error Message

PLS-00423: ORDER BY item must be the number of a SELECT-list expression

Reason for the Error

A column alias was used in the ORDER BY clause of a SELECT statement that uses a UNION, INTERSECT, or MINUS set operator. This is not allowed. In such cases, expressions in the ORDER BY clause must be unsigned integers that designate the ordinal positions of select-list items.

Solution

Change the alias in the ORDER BY clause to an unsigned integer that designates the ordinal position of the select item in question.

Share:

Leave A Reply

Your email address will not be published. Required fields are marked *

You May Also Like

Oracle Error Message CLSGN-32767: Internal error. Reason for the Error An unexpected error occurred. Solution Examine the message(s) that accompany...
Oracle Error Message CLSGN-00211: OCR batch operation failed. string Reason for the Error Setting a set of Oracle Cluster Registry...
Oracle Error Message CLSGN-00210: failed to get value for OCR key “string”. string Reason for the Error It was not...