Category: SQL SQL Server

sp_change_users_login

*Show orphan users for current database

sp_change_users_login 'report'

*Show orphan users for current database

sp_change_users_login 'update_one','[ORPHANED USER','[NEW USER'

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count: