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!

Grant select privilege on a schema

40297040-OracleApr 28 2015 — edited Apr 29 2015

Hi,  I have an acctA which needs to 'select' on acctB's tables,views,stored procedures, all things own by acctB. AcctB owns over 100,000 tables,views.

What is the best way to grant 'select' to acctA on the acctB objects?

Is there a better way than the statement below?

select 'grant select on '||table_name||' to acctA;' from dba_users where owner='acctB';

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 27 2015
Added on Apr 28 2015
8 comments
1,224 views