Skip to Main Content

Oracle Database Discussions

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!

insert into a VIEW, which is based on a UNION ALL

chuckersMay 19 2006 — edited May 22 2006
I am unable to insert into a VIEW which uses a UNION ALL query. At least I'm sort of unable to. If I use a direct sql stmt against the VIEW it works. If I try to insert via TOAD or Oracle Forms, I get stopped.

When I remove the UNION ALL and the query below, leaving the same INSTEAD OF TRIGGER in place, there's no problem.

What could be causing this dichotomy between these environments? (Also, the ALL_UPDATABLE_COLUMNS says the view is not insertable, even though the direct SQL stmt still works).

Thanks,
Chuck
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 19 2006
Added on May 19 2006
9 comments
1,223 views