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: Can you drop a primary key constraint?

Re: Can you drop a primary key constraint?

From: Martin Drautzburg <drautzburg_at_altavista.net>
Date: 13 Apr 2001 02:42:29 +0200
Message-ID: <87vgo94olm.fsf@altavista.net>

SQL> alter table xx1 drop primary key;

will do the trick UNLESS the primary key is referenced by a foreign key of another table. Then you'll have to drop the foreign key(s) too. Received on Thu Apr 12 2001 - 19:42:29 CDT

Original text of this message

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