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 tables in PL/SQL

Re: DROP tables in PL/SQL

From: Rene Nyffenegger <rene.nyffenegger_at_gmx.ch>
Date: Tue, 29 Nov 2005 19:56:05 +0000 (UTC)
Message-ID: <dmibol$b77$1@nntp.init7.net>


On 2005-11-29, Fabrizio Magni <fabrizio.magni_at_mycontinent.com> wrote:
> Try with:
>
> execute immediate 'drop table xxx';

Of course, this will fail if there is a table having a foreign key to xxx.

And yes, as others pointed out, it is very questionable to create and drop table in procedures.

-- 
  Rene Nyffenegger
  http://www.adp-gmbh.ch/
Received on Tue Nov 29 2005 - 13:56:05 CST

Original text of this message

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