Skip to content

Instantly share code, notes, and snippets.

@DaveGoosem
Created May 16, 2013 00:15
Show Gist options
  • Save DaveGoosem/5588484 to your computer and use it in GitHub Desktop.
Save DaveGoosem/5588484 to your computer and use it in GitHub Desktop.
User Update Query when restoring backups
--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