stored proc to re-map login to db user

  • After restoring a database from another server, all of the users are mapped incorrectly to logins. does anyone remember the name of the stored proc that will re-map these? Or does anyone have a script? thanks.

    Epilot DB Admin

  • Use sp_change_users_login. See BOL for details.

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply