PL/SQL (MOSC)

MOSC Banner

ORA-01007: variable not in select list

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

Oracle database 19c

OEL 7

This is a continuation from a previous question that I posted and was answered and now I have a new question.

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.


I'm able to run the execute immediate to run the update and rollback.

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