|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: 2 days ago @ 3:03 AM
Points: 202,
Visits: 321
|
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Wednesday, March 27, 2013 12:52 PM
Points: 40,
Visits: 52
|
|
| There is also a built-in stored procedure called 'sp_change_users_login'. It works on the current database and only for sql accounts, not windows logins. It can be used to list orphaned users and to reconnect them. I am not sure if it is available before SQL 2005.
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 2:56 PM
Points: 60,
Visits: 634
|
|
| Very useful script. It would be nice if it didn't consider users created from certificates as orphaned.
|
|
|
|