Re: how to boost drop table statement
- From: Thomas Kellerer <NNGNVRDSJEBN@xxxxxxxxxxxxx>
- Date: Sun, 19 Jun 2005 23:38:52 +0200
Lee Fesperman wrote on 19.06.2005 22:23:
Assuming no cross-referencing referential integrity, ordering would truncate the table containing the FK reference first, thus it would seem to work.No. As long as there is a FK referenced *defined* Oracle will refuse to truncate a table.
Apparently, Oracle doesn't support the CASCADE option for DROP, which would eliminate the similar ordering problem when using a list of DROP TABLEs. It also solves the cross-referencing problem. Lack of standards support does have its consequences ;^)
Oracle does support the CASCADE option for DROP... But then we're back to the question on how to speed that up.
Thomas .
- Follow-Ups:
- Re: how to boost drop table statement
- From: Lee Fesperman
- Re: how to boost drop table statement
- References:
- how to boost drop table statement
- From: Markusin
- Re: how to boost drop table statement
- From: Thomas Kellerer
- Re: how to boost drop table statement
- From: John Currier
- Re: how to boost drop table statement
- From: Thomas Kellerer
- Re: how to boost drop table statement
- From: Lee Fesperman
- how to boost drop table statement
- Prev by Date: Re: how to boost drop table statement
- Next by Date: Re: (Sybase) JConnect 5.5 and 6.0 code hangs !!!
- Previous by thread: Re: how to boost drop table statement
- Next by thread: Re: how to boost drop table statement
- Index(es):