Hi,
I have a database created in server 2000, and now I have moved it to server 2005.
All works do fine, but there is a user which cannot be removed.
In the user properties window, the assigned schema is empty. The user is a db_owner of the database. When I was trying to update the user, it asked me for the login. The login is empty, but the field is disabled.
So my question is, how to remove this user?
Thank you.
Jensan
Hi,then it is probably an orphanded database user. You should use the
sp_dropuser [ sp_dropuser ] 'user'
ms-help://MS.SQLCC.v9/MS.SQLSVR.v9.en/tsqlref9/html/e28f18f9-7ecf-4568-89f4-fe5c520df386.htm
HTH, Jens K. Suessmeyer.
http://www.sqlserver2005.de
_--
No comments:
Post a Comment