PL/SQL (MOSC)

MOSC Banner

Execute immediate error - ORA-00933: SQL command not properly ended

edited Nov 15, 2022 6:30PM in PL/SQL (MOSC) 5 commentsAnswered ✓

Oracle database 19c

Linux 7


I'm trying to write a program to find all the tables in a schema that have a column name like COLUMN_TEST.


Then once it finds a table, I want to update the table, and then I would do a rollback and then find the next table for update.


The reason I'm doing this is that running an update causes an error (on only some tables) and I want to capture that error.






ERROR at line 1:

ORA-00933: SQL command not properly ended

ORA-06512: at line 9

ORA-06512: at line 9

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