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
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?
No. As the documentation shows, you can only grant access to one object at a time.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With