Return-Path: <root@fatcity.cts.com>
Received: from newsfeed.cts.com (newsfeed.cts.com [209.68.248.164])
 by naude.co.za (8.11.2/8.11.2) with SMTP id g6OCitw23952
 for <oracle-l@naude.co.za>; Wed, 24 Jul 2002 08:44:55 -0400
Received: from fatcity.UUCP (uucp@localhost)
 by newsfeed.cts.com (8.9.3/8.9.3) with UUCP id FAA79455;
 Wed, 24 Jul 2002 05:38:58 -0700 (PDT)
Received: by fatcity.com (26-Feb-2001/v1.0g-b71/bab) via UUCP id 004A0AA5; Wed, 24 Jul 2002 05:29:20 -0800
Message-ID: <F001.004A0AA5.20020724052920@fatcity.com>
Date: Wed, 24 Jul 2002 05:29:20 -0800
To: Multiple recipients of list ORACLE-L <ORACLE-L@fatcity.com>
X-Comment: Oracle RDBMS Community Forum
X-Sender: "Seefelt, Beth" <Beth.Seefelt@TetleyUSA.com>
Sender: root@fatcity.com
Reply-To: ORACLE-L@fatcity.com
Errors-To: ML-ERRORS@fatcity.com
From: "Seefelt, Beth" <Beth.Seefelt@TetleyUSA.com>
Subject: RE: View error msg
Organization: Fat City Network Services, San Diego, California
X-ListServer: v1.0g, build 71; ListGuru (c) 1996-2001 Bruce A. Bergman
Precedence: bulk
Mime-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by naude.co.za id g6OCitw23952


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: vandana@gdit.iiit.net

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: ListGuru@fatcity.com (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: Beth.Seefelt@TetleyUSA.com

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: ListGuru@fatcity.com (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).

