Link to home
Start Free TrialLog in
Avatar of mrong
mrong

asked on

SQL Update error

Hello,

I tried to update a field(non-null field) in oracle table but got the following error. Anyone know the reason and suggestions?

ORA-01779: cannot modify a column which maps to a non key-preserved table


Thanks in advance.
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Are you using a join as part of the update or are you trying to update a view?

Check out that error code:
http://ora-01779.ora-code.com/
Avatar of mrong

ASKER

How to tell if it is a table or a view? thanks
ASKER CERTIFIED SOLUTION
Avatar of slightwv (䄆 Netminder)
slightwv (䄆 Netminder)

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial