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: Create Table

Re: Create Table

From: Tony Rogerson <tonyrogerson_at_compuserve.com>
Date: 1998/07/08
Message-ID: <uBCxZvoq9GA.338@nih2naaa.prod2.compuserve.com>#1/1

Not sure of the compliance, but the reason the MSSQL (1) fails is that you cant have a primary key constraint name the same name as another object in the database.

create table a ( a int, b int ,
constraint pk_a primary key (a)
)

would work.

--
Hope the above helps,

Tony Rogerson
Torver Computer Consultants Ltd.
Received on Wed Jul 08 1998 - 00:00:00 CDT

Original text of this message

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