# Sunday, January 11, 2009
Sunday, January 11, 2009 3:28:04 PM (GMT Standard Time, UTC+00:00) ( Database )
i notice when i backup a database and restore it to another server, the user IDs are different and i have to delete the users and add them back in to the database.  however last time i tried this the drop failed because the user owned a schema.  i right-clicked on the user's properties and the tick box for 'db_owner' was shaded in a read only state.  so i couldn't delete the user and couldn't remove their schema ownership.  took a while to figure out that the way to do this is via the Database > Security > Schemas menu, then change the schema owner back to itself, e.g. db_owner.  then the user is free to be deleted.

Comments [1] | | # 
Sunday, August 02, 2009 1:38:19 AM (GMT Daylight Time, UTC+01:00)
Thank you so much! I was having the same problem and I was about to go crazy! Your post here saved me hours of pain.
Henry
Name
E-mail
Home page

Comment (HTML not allowed)  

Enter the code shown (prevents robots):

Live Comment Preview