My real issue stems from the need to remove the logins and then reattach the to the same rebuilt database.
It would be easy if I had a second db that I could move loggings into on a temp basis and then transfer back, but I do not have this luxury - is there a way of detaching loggings and re-attaching without the help of a second db to store the logins?
Do you mean change the default database of each login? That is easy enough to do as well. Remember, all of the logins' information is stored in the master database. In going from server to server, the biggest challenge is to keep the sids lined up.
You might be able to script off the logins from Enterprise Manager and then run the script on your rebuild. But there isn't any 'detach/attach' like there is for databases.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.