Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: how to change a foreign key back to a primary key.Thank You.
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
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
![]() |
![]() |