Does the WHERE clause on your view contain all of the fields from both
primary keys?  Maybe you should post the table/view definitions.

Beth

-----Original Message-----
Sent: Tuesday, July 23, 2002 11:33 PM
To: Multiple recipients of list ORACLE-L



Hi,
        I created a view as a join of two tables, each of which has a 
primary key defined on it. When I am trying to insert values into the
view 
I see the following error msg,

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

        What could the error be?
        Thanks.


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Vandana
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Seefelt, Beth
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to