Skip to Main Content

Oracle Database Discussions

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Check for grants

774329Jul 28 2010 — edited Jul 28 2010
I need to check if the grants are already given for a particular procedure/table/package. If the grants are not given then I have to give the grants, but if the grants exists then I just want a display saying that grants are already present.

Am trying to put this in a shell script, can anyone help.

Note: There are a set of 12 grants to be given and it is common for every package,table,function or package. Eg: grant execute on &&1 to GENERAL - I have 12 such schemas which needs to be checked.

please let me know if i can provide any further input.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 25 2010
Added on Jul 28 2010
1 comment
1,504 views