RSS

4 responses to “SQL Server Orphanage – Using sp_change_users_login to find and fix all orphaned SQL users

  1. Koen

    February 4, 2016 at 4:38 AM

    Please take in mind that the first query is wrong.
    That query will always try to fix the user ‘report’.

     
    • Ayman El-Ghazali

      February 4, 2016 at 10:04 PM

      No, that will report the users that need to be fixed.

       

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

 
Follow

Get every new post delivered to your Inbox.

Join 1,480 other followers

%d bloggers like this: