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 -> Re: Oracle8i - "Object identifier is Primary Key " Statement

Re: Oracle8i - "Object identifier is Primary Key " Statement

From: Pete Sharman <psharman_at_us.oracle.com>
Date: Thu, 22 Jul 1999 09:26:33 -0700
Message-ID: <37974639.512F402A@us.oracle.com>


Agnes

I would assume by looking at the messages that the PRIMARY KEY syntax came in 8.1, whereas the system generated syntax really reflects what was the default prior to 8.1, and therefore it works regardless of the syntax. In any case, try changing the COMPATIBLE parameter in your init.ora file to 8.1.0 and bounce the database to see if that removes the problem.

HTH. Pete

Agnes Sauerer wrote:

> Hi,
>
> I'm using Oracle8i, Release 8.1.5, SQL Plus Release 8.1.5 (really!!!)
> and have a problem with the "OBJECT IDENIFIER IS PRIMARY KEY" Statement.
>
> create TABLE Hotelgast_Objtab OF Gast_ty (Gast_id PRIMARY KEY) OBJECT
> IDENTIFIER is PRIMARY KEY;
>
> ERROR at line 1:
> ORA-00406: COMPATIBLE parameter needs to be 8.1.0.0.0 or greater
>
> But this statement is o.k.
> create TABLE Hotelgast_Objtab OF Gast_ty (Gast_id PRIMARY KEY) OBJECT
> IDENTIFIER is system generated;
>
> Table created.
>
> what is the problem?
>
> Thanks in advance!
>
> Agnes Sauerer

--
Regards

Pete


Received on Thu Jul 22 1999 - 11:26:33 CDT

Original text of this message

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