I have a view called Directors on a SQL database called Theatre. I need to grant all users in this view all privileges.
So far I have this:
GRANT ALL ON Theatre.Director '*'@'.\SQLEXPRESS'
.\\SQLEXPRESS
Is my SQL host server.
But this returns an error. How Do I complete this task?
GRANT DELETE, INSERT, REFERENCES, SELECT, UPDATE ON Theatre.Director TO public
all users are member of the "public" group. As for the "all" you should avoid using it since it is deprecated.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.