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

Can you drop a primary key constraint?

From: Rhugga <rhugga_at_yahoo.com>
Date: Thu, 12 Apr 2001 15:02:34 -0700
Message-ID: <jb9cdt4m48se3iht8qqkj5k07nf5lknbvs@4ax.com>

A developer just approached me with the need to drop the primary key constraint from a table. Is this possible with 8i? I told him to create a tmp table as a select * from the table, drop the table with the pkey, then recreate the table by doing a select * from the temp table, this time specifying no pkey.

Is this the best way?

Thanks,
CC Received on Thu Apr 12 2001 - 17:02:34 CDT

Original text of this message

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