Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to allow other people see my trigger source code 1

Status
Not open for further replies.

huchen

Programmer
Jan 24, 2006
68
US
Hello,

I want other people see my trigger source code in Oracle.

what is the right syntax for granting this ?

Thank you very much.
 
I ran this:
grant select any dictionary to user1;

and it still does not work.

by the way, user1 is another developer and I have a dba role.

Thank you.
 
Huchen,

What data-dictionary view is "User1" accessing to see the trigger code? If you have done a "grant select any dictionary to user1;", then the following query should work for you:
Code:
select <expression-list> from dba_triggers where owner = '<trigger-owner>';
Let us know your findings.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I can provide you with low-cost, remote Database Administration services: see our website and contact me via www.dasages.com]
 
In order for user1 to see other people's trigger list in Toad, I have to issue this:
grant create any trigger to user1;

Thank you very much for your help. I am all set.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top