Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 15264

Orphaned users issues

$
0
0

hi ,

recently i am involve database migration active, i taken the 400 DB database backup and restored into new server.

restored after i am checking the "orphaned users" through [sp_change_users_login 'report'] 

here i found  230 "orphaned users" how to fix those "orphaned users" at a time.

generaly one or two "orphaned users" i am following bellow sp

sp_change_users_log 'update_one','login','scheam'

but in this time i have 230 "orphaned users" ,how i can fix those 230 "orphaned users" at a time

Note: in this server 230 logins are existing under security.    


Viewing all articles
Browse latest Browse all 15264

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>