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!

UPDATE with inline view - ORA-01779:cannot modify a column which maps to a

tx103108May 7 2008 — edited May 8 2008
Hello....
With the following SQL, I get the ORA-01779 mentioned in the Subject Line:

update
(select a.old_c1
,a.old_c2
,a.old_c3
,b.old_c1
,b.old_c2
,b.old_c3
from table1 a, table2 b
where a.id = b.id)
set a.old_c1 = b.old_c1
,a.old_c2 = b.old_c2
,a.old_c3 = b.old_c3;

Any help or explanation would be helpful. Thank you.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 5 2008
Added on May 7 2008
10 comments
2,347 views