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: Drop Table with Foreign Constraints & Indexes

Re: Drop Table with Foreign Constraints & Indexes

From: Daniel Morgan <damorgan_at_x.washington.edu>
Date: Sat, 25 Sep 2004 17:59:41 -0700
Message-ID: <1096160457.760380@yasure>


Ste wrote:

> Hi,
>
> I would like to seek help dropping a table with foreign keys being
> referenced to and referencing other table. Do we disable constraints
> first before "drop table constraints cascade"? Would dropping this table
> drop other foreign key referenced table too?
>
> Thanks for any comments.
>
> Ste

DROP TABLE <table_name> CASCADE CONSTRAINTS;

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu
(replace 'x' with 'u' to respond)
Received on Sat Sep 25 2004 - 19:59:41 CDT

Original text of this message

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