Created
October 26, 2014 13:22
-
-
Save stevenh77/adea1c01e2e143746412 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- tells you the orphaned users | |
EXEC sp_change_users_login 'report' | |
-- to fix if you already have the server login: | |
EXEC sp_change_users_login 'Auto_Fix', 'enter your username here' | |
-- to fix if you don't already have the server login: | |
EXEC sp_change_users_login 'Auto_Fix', 'user', 'enter your login here', 'enter your password here' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment