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: How to prevent deletes when DELETE ANY TABLE granted?

Re: How to prevent deletes when DELETE ANY TABLE granted?

From: John Verbil <jverbil_at_netmail.mnet.uswest.com>
Date: 1996/12/12
Message-ID: <32B032FD.6DFF@netmail.mnet.uswest.com>#1/1

Gert Rijs wrote:
>
> Hi John,
> just a thought (not tested):
> - create a package with a boolean variable in its header called
> 'delete_allowed'
> - in your after insert-update-delete trigger set it to true
> - in your 'replica' trigger check the delete_allowed variable (instead of
> username).
> hope this helps..
> Gert

Gert,

This was an excellent idea and worked well. Thanks for your help!

-- 
John Verbil
U S WEST Communications
Information Technologies
jverbil_at_uswest.com
(303) 896-0916
Received on Thu Dec 12 1996 - 00:00:00 CST

Original text of this message

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