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

Home -> Community -> Usenet -> c.d.o.server -> MV Error:ORA-12014: table 'TEST_DATA' does not contain a primary key constraint

MV Error:ORA-12014: table 'TEST_DATA' does not contain a primary key constraint

From: Sajnish Gupta <sajnish_gupta_at_yahoo.com>
Date: Thu, 15 Nov 2001 15:10:45 -0600
Message-ID: <3bf42ec4$0$24237$4c41069e@reader0.ash.ops.us.uu.net>


I am trying to create Materialized Views as follows:

Create MATERIALIZED VIEW TEST_DATA_MV
PCTFREE 0
PCTUSED 99
INITRANS 2
MAXTRANS 255
TABLESPACE T1
BUILD DEFERRED
REFRESH ON DEMAND
AS select * from SCHEMA_TEST.TEST_DATA_at_DBLINK;

ORA-12014: table 'TEST_DATA' does not contain a primary key constraint

The TEST_DATA table in the SCHEMA_TEST does NOT have a Primary Key and I do not want a primary key on TEST_DATA. What should I do to avoid error ORA-12014 ? I want to create this Materialized View WITHOUT the Primary Key, is there a way?

thanks for your help
Sajnish Received on Thu Nov 15 2001 - 15:10:45 CST

Original text of this message

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