Advertisement
murp

Fix Orphan SQL Users

Aug 28th, 2012
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.11 KB | None | 0 0
  1. -- This code fixes orphan users in SQL Server 2005 * 2008
  2. EXEC sp_change_users_login 'AUTO_FIX', 'usernamegoeshere'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement