Created
May 16, 2013 00:15
-
-
Save DaveGoosem/5588484 to your computer and use it in GitHub Desktop.
User Update Query when restoring backups
This file contains 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
--it uses It uses the <user>, <login> in that order | |
EXEC sp_change_users_login 'Update_One', '<user>' , '<login>' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment