Elephant Wishes (SQL Server and Data Ramblings)
I wish I could remember everything...
Thursday, November 10, 2011
TSQL - Refresh all orphaned users of a database after a restore
I've used this script for years, not sure where I pilfered it from but putting this here for safekeeping.
sql server refresh orphaned users