darrylbraaten.com

Software Development and System Architecture

 

Welcome to darrylbraaten.com Sign in | Join | Help
in Search

Darryl's Homepage

Random Ramblings

Note to Self: exec sp_change_users_login

Why SQL Server doesn't do this automaticly escapes me.  If you ever restore a database you end up with a bunch of users in your database, and a bunch of users defined on your database server (well only if they were already on the server).  But they are broken half users. 

Invaribly I spend half an hour trying to remember the name of the stored procedure that fixes this up when ever I restore a database. 

This post is so I can find it quicker. 

Published Friday, March 28, 2008 1:31 PM by darryl
Filed under:

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 
Submit