Re: Cannot Drop Users
- From: Erland Sommarskog <esquel@xxxxxxxxxxxxx>
- Date: Fri, 7 Sep 2007 21:31:19 +0000 (UTC)
Zekske (Zekske@xxxxxxxxxxxxxxxxxxxxxxxxx) writes:
I attached databases from a SQL7.0 server in domain A on a SQL 2000 server
in domain B.
When I try to drop de database users with the sp_dropuser command I get
the message user does not exists.
Strange thing is that when I execute sp_helpuser I can see the users but
when I execute SP_Change_users_login 'report', there not listed.
Those users are domainusers.
I think you should use sp_revokedbaccess for domain users, rather
than sp_dropuser.
--
Erland Sommarskog, SQL Server MVP, esquel@xxxxxxxxxxxxx
Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/prodtechnol/sql/2005/downloads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinfo/previousversions/books.mspx
.
- Prev by Date: Re: Execute stored procedure only
- Next by Date: which users can see everybody in sysusers?
- Previous by thread: Re: Cannot Drop Users
- Next by thread: Re: Linked Server Access
- Index(es):
Relevant Pages
|