Restoring SQL backups from one server into another

Well as you may know I’m amnesiac… So this post is for me to remember how to relink an database user into the database server again.

The stored procedure of SQL Server that does that is: sp_change_users_login…

Check out this MS page: http://msdn2.microsoft.com/en-us/library/ms174378.aspx

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s