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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: how to change a foreign key back to a primary key.Thank You.

RE: how to change a foreign key back to a primary key.Thank You.

From: Meomeo Nguyen <meomeo22_at_yahoo.com>
Date: Thu, 30 May 2002 10:38:36 -0800
Message-ID: <F001.0046FF96.20020530103836@fatcity.com>

Richard and Igor,
Thank you both for your quick answers. I do appreciate it very much. The statements work well. Again, thanks for your help.
Trang
  Richard Huntley <rhuntley_at_mindleaders.com> wrote: Trang, How about:alter table TABLE_NAME drop constraint CONSTRAINT_NAME;alter table TABLE_NAME add constraint pk_TABLE_NAME primary key (COLUMN)using index tablespace indexes; -----Original Message----- Sent: Wednesday, May 29, 2002 7:06 PM
To: Multiple recipients of list ORACLE-L

Hi,

I need to change a foreign key back to a primary key in a table. How do I do that. Please help.

Thanks in advance.

Trang



Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup

Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Meomeo Nguyen
  INET: meomeo22_at_yahoo.com
Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu May 30 2002 - 13:38:36 CDT

Original text of this message

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