Skip to content

Instantly share code, notes, and snippets.

@kdarty
Created July 2, 2014 13:32
Show Gist options
  • Save kdarty/eb180be3305da0da7716 to your computer and use it in GitHub Desktop.
Save kdarty/eb180be3305da0da7716 to your computer and use it in GitHub Desktop.
Re-sync or resolve a User from an Imported Database to an Existing SQL Server User Login Account
/***************************************************************************/
/* Use the following Stored Procedure call to re-sync or resolve a user */
/* from an imported database to an existing SQL Server User Login Account. */
/***************************************************************************/
EXEC sp_change_users_login 'Auto_Fix', 'UserName'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment