Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Re: drop whatever temp;

Re: drop whatever temp;

From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Wed, 07 Nov 2001 20:55:27 +0000
Message-ID: <3BE99FBF.3236@yahoo.com>


Andreas Koch wrote:
>
> Hi,
>
> In a script i create a table temp.
> To prevent it failing if some other script created
> a temp and didn't delete it, i use
> drop table temp;
> drop view temp;
> drop trigger temp;
> ....
> before the statement.
>
> Is there a single command to drop temp whatever it is.
> If not, what "types" can temp be? I just added
> "sequence" to my list this morning :)
>
> I guess that's table,view,trigger,procedure and sequence then.
>
> --
> Andreas
> Who doesn't live can never die

Check out 'global temporary tables'. Its very bad news to dynamically create/drop tables in a live systems - its asking for gloom.

hth
connor

-- 
==============================
Connor McDonald

http://www.oracledba.co.uk

"Some days you're the pigeon, some days you're the statue..."
Received on Wed Nov 07 2001 - 14:55:27 CST

Original text of this message

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