Question

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? This user does exist

Was it helpful?

Solution

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'
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top