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

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Revoke Delete

RE: Revoke Delete

From: Ron Thomas <rthomas_at_hypercom.com>
Date: Tue, 27 Nov 2001 15:03:53 -0800
Message-ID: <F001.003CE401.20011127144523@fatcity.com>

But of course a delete trigger is not called on a truncate...

Ron Thomas
Hypercom, Inc
rthomas_at_hypercom.com

                                                                                       
                    
                    MohanR_at_STARS-                                                      
                    
                    SMI.com              To:     ORACLE-L_at_fatcity.com                  
                    
                    Sent by:             cc:                                           
                    
                    root_at_fatcity.        Subject:     RE: Revoke Delete                
                    
                    com                                                                
                    
                                                                                       
                    
                                                                                       
                    
                    11/27/01                                                           
                    
                    02:40 PM                                                           
                    
                    Please                                                             
                    
                    respond to                                                         
                    
                    ORACLE-L                                                           
                    
                                                                                       
                    
                                                                                       
                    




set what, precisely, through a trigger?

Geez, if you have a DBA and/or a schema owner that can't/shouldn't be deleting from a table, what you have is NOT a database problem, it's an HR problem.

sheesh.

yea, how about this? an "BEFORE DELETE" trigger on the table, saving and repopulating each row the Evil DBA deleted, and logging his Evil Actions in the Military Audit table, so that the Evildoer can be brought to justice?

Yea, that's the ticket, that's printable in "Dilbert".

In peace, love, data, and triggers,

-----Original Message-----

Hi Listers,

How can we revoke 'delete privilege' from the schema owner of the table and also from DBA ?
If it is not possible, can we set through trigger ? Thanks.

Aldi

--
Please see the official ORACLE-L FAQ: http://www.orafaq.com
--
Author: Mohan, Ross
  INET: MohanR_at_STARS-SMI.com

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L

(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Ron Thomas INET: rthomas_at_hypercom.com Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists -------------------------------------------------------------------- To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from). You may
also send the HELP command for other information (like subscribing).
Received on Tue Nov 27 2001 - 17:03:53 CST

Original text of this message

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