Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

ORA-00933: SQL command not properly ended

200765Aug 6 2002
I am getting the ORA-933 error when I try to run a query in a pl/sql stored procedure. The same query works fine if I run it outside the procedure. Any reason why this could be happening?

The query has a Group By clause as it is using SUM function. If I remove the group by clause and the SUM function the procedure works but I had to change the order by join conditions in the WHERE clause.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 4 2002
Added on Aug 6 2002
4 comments
1,792 views