Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: View error msg

RE: View error msg

From: Richard Huntley <rhuntley_at_mindleaders.com>
Date: Wed, 24 Jul 2002 05:23:23 -0800
Message-ID: <F001.004A0A8A.20020724052323@fatcity.com>


Take a look at Note:93516.1 on Metalink ("Can a View be Created That Allows Insert of Records into the View and Base Table"). Make sure that one table has a primary key that is reference by a fk in the other table. Without the

relationship, it won't work, hence the error msg.

-----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_at_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_at_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: Richard Huntley
  INET: rhuntley_at_mindleaders.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_at_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). Received on Wed Jul 24 2002 - 08:23:23 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US