If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Oracle > Grant execute on one procedure

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old
Registered User
 
Join Date: Sep 2003
Location: Slovenia
Posts: 18
Unhappy Grant execute on one procedure

Hello!

Hope, you can help me.
I have a procedure in a package and I would like for some other user to see it an use it as he likes. So I tried to grant him an execute grant on that procedure. I used SQL:

grant execute on Package.Procedure to user;

and I get error: ORA-04042: procedure, function, package, or package body does not exist.
I don't get it. What am I doing wrong? By all examples that I found, this sholud be right...

Thank you!
__________________
www.SloMusic.com
Reply With Quote
  #2 (permalink)  
Old
Registered User
 
Join Date: May 2006
Posts: 132
You can only grant on the package itself, not the individual procedures or functions in the package.
Reply With Quote
  #3 (permalink)  
Old
Registered User
 
Join Date: Sep 2003
Location: Slovenia
Posts: 18
Oki - I alrady know the answer.
It's not possible. Apperently It's possible only on package.

Thank you!
__________________
www.SloMusic.com
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On