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: Prevent table delete

Re: Prevent table delete

From: DA Morgan <damorgan_at_psoug.org>
Date: Fri, 17 Aug 2007 10:06:11 -0700
Message-ID: <1187370370.545884@bubbleator.drizzle.com>


Sean wrote:
> how do i create a table which cant be deleted by the normal drop
> command.
>
> a friend told me that by hiding the table file it cant be deleted. is
> there any other way?

Use a DDL Trigger.

There is a demo in Morgan's Library at www.psoug.org. It can also prevent TRUNCATE.

-- 
Daniel A. Morgan
University of Washington
damorgan_at_x.washington.edu (replace x with u to respond)
Puget Sound Oracle Users Group
www.psoug.org
Received on Fri Aug 17 2007 - 12:06:11 CDT

Original text of this message

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