Comments posted to this topic are about the item Fix Orphan Users
Interesting script. I need to look at this a little closer. I do see that you have it so you can just print out results by swapping which lines are commented.
Good script, I would however change sp_change_users_login to ALTER LOGIN instead as the former is marked for depreciation in a later release of the product, just to ensure continued support with the new ALTER method.
Viewing 3 posts - 1 through 2 (of 2 total)