简体   繁体   中英

Grant all the privileges to user in SQL Server

I'm working on SQL Server. I created a new login, new user to the database then I log into the instance with sql server authentification using the same login. I gave the user all the privileges by checking these

I've run the command:

grant all to [user]

and got this error

Cannot grant, deny or revoke permissions to sa, dbo, entity owner, information_schema, sys or yourself.

and then still can't save changes and update tables because it's not permitted. how can I grant all the privileges the the user?

Thanks in advance.

Grant permissions using SA user because you can not give restricted permissions to yourself if you don't have permission to do it.

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.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM