how to change permission for the service account i

2019-09-07 15:34发布

问题:

I want to delete an entry from my sql table, through Azure's sql management portal. When I query "DROP USER "XXX" " it says "Cannot drop the user 'XXX', because it does not exist or you do not have permission." Where can I change permission for the service account to delete entries from table?

回答1:

I'm assuming this question is related to your previous question (how to delete an entry from azure sql?). DROP USER will try to remove a user which has access to your database, this has nothing to do with removing a record from the Users table. To remove a record from the users table, execute the following query:

DELETE FROM dbo.Users WHERE Username = 'Nazerke'