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 -> How to drop a foreign key

How to drop a foreign key

From: David YEUNG <dyeung_at_ust.hk>
Date: Wed, 11 Apr 2001 12:06:34 +0800
Message-ID: <3AD3D84A.27B789E1@ust.hk>

I have a table A which contains a foreign key reference to table B's primary key, e.g.:

create table A (
...

  fid varchar2(16) not null,
...

  foreign key (fid) references B(pid) on delete cascade )

where pid is the primary key of the table B.

Can someone tell me how to drop (or disable) the foreign key in table A.

Thanks

david Received on Tue Apr 10 2001 - 23:06:34 CDT

Original text of this message

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