Grant SELECT on multiple tables oracle

Sergio Martinez picture Sergio Martinez · Mar 16, 2013 · Viewed 130.6k times · Source

I have 3 tables table1,table2,table3. I want to grant(select for example) these tables to a user, user1.

I know that I can grant with:

grant select on table1 to user1;
grant select on table2 to user1;
grant select on table3 to user1;

Can I grant the 3 tables to user1 using only 1 query?

Thanks

Answer

Chris Saxon picture Chris Saxon · Mar 16, 2013

No. As the documentation shows, you can only grant access to one object at a time.