Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: What privs are required to alter a trigger owned by SYS?
Rick,
My 2000 crashed yesterday and I lost my reply to you, so here it is ...
alter any trigger is the privilege ... but here is a better solution ...
create or replace sys.enable_trigg_proc is
begin
execute immediate 'alter trigger sys.dbt_logon enable';
end;
/
create or replace sys.disable_trigg_proc is
begin
execute immediate 'alter trigger sys.dbt_logon disable';
end;
/
create synonym your_favorite_user.enable_trigg_proc for
sys.enable_trigg_proc
/
grant execute on sys.enable_trigg_proc to your_favorite_user
/
create synonym your_favorite_user.disable_trigg_proc for
sys.enable_trigg_proc
/
grant execute on sys.disable_trigg_proc to your_favorite_user
/
I perfer this to granting privileges ...
Let me know if this will work for you.
Raj
-----Original Message-----
Sent: Friday, March 07, 2003 10:14 AM
To: Multiple recipients of list ORACLE-L
Yes but do you have an answer to original question
-- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Jamadagni, Rajendra INET: Rajendra.Jamadagni_at_espn.com Fat City Network Services -- 858-538-5051 http://www.fatcity.com San Diego, California -- Mailing list and web hosting services --------------------------------------------------------------------- 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 Fri Mar 07 2003 - 10:19:23 CST
- text/plain attachment: ESPN_Disclaimer.txt
![]() |
![]() |