SQL Language (MOSC)

MOSC Banner

Including the "order by" before the "union all" and after the unon all gave error

edited Dec 18, 2011 11:32PM in SQL Language (MOSC) 10 comments
The following query is giving me the following error:
 union all
*
ERROR at line 34:
ORA-00933: SQL command not properly ended

The query is attached.  If I removed the "order by clause" the query runs fine.  Also if you removed only the paragraph after union all , including the union all, the query runs well also.


Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center