Fix Orphan Users

  • SQL_Hunt

    SSC-Dedicated

    Points: 33450

    Comments posted to this topic are about the item Fix Orphan Users

    Thanks.

  • akljfhnlaflkj

    SSC Guru

    Points: 76202

    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.

  • anthony.green

    SSC Guru

    Points: 112515

    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 3 (of 3 total)

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