May 6, 2010 at 4:20 am
how we are going to fix orphand users in 2000 and 2005 servers?
May 6, 2010 at 4:34 am
To get list of orphaned users user the following query
USE databasename;
GO
EXECUTE sp_change_users_login @Action='Report';
To fix the Orphaned users logins one at a time
USE databasename;
GO
EXEC sp_change_users_login 'Update_One', 'database_User', 'ServerlevelDet'
Nag
------------------------------------------------
How to get the best help on a forum
http://www.sqlservercentral.com/articles/Best+Practices/61537
May 6, 2010 at 4:45 am
we can fix orphanded users trough ssis packages in Sql 2005,but how can we fix in 2000 server? is it possible through DTS packages?
May 6, 2010 at 6:12 am
No, you need to go to TSQL to fix them, usually one at a time.
"The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood"
- Theodore Roosevelt
Author of:
SQL Server Execution Plans
SQL Server Query Performance Tuning
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply