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!

instead of trigger and merge

kamilpAug 18 2012 — edited Aug 26 2012
Hi,

I have created view and instead of insert, delete, update triggers on it. It is working fine for insert, delete, update. However, the application uses lots of merge command. For merge command on the view, I get following error

ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP BY, etc.

I dont have any rowid mentioned in merge command. Is there way how to make MERGE working over view with instead of triggers ?

Thanks for advices.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 23 2012
Added on Aug 18 2012
18 comments
1,436 views