问题
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'
来源:https://stackoverflow.com/questions/13662752/how-to-change-permission-for-the-service-account-in-azures-sql-management-porta