Reputation: 2269
I have searched the web, but can't find anything that addresses this question. I want to give all privileges on two different tables to a user. Can this be done? This is what I have.
GRANT ALL PRIVILEGES
ON TABLE SALES, PRODUCT
TO FRED
Thanks!
Upvotes: 1
Views: 381
Reputation: 312219
The grant
syntax handles one table at a time. Also, there is no "table" after the "on":
GRANT ALL PRIVILEGES ON SALES TO FRED;
GRANT ALL PRIVILEGES ON PRODUCT TO FRED;
Upvotes: 2