I have a database with user ‘dbo’ that has a login name ‘domain\xzy’. How do I change it from ‘domain\xzy’ to ‘domain\abc’.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I figured it out. Within SQL Management Studio you have to right-click on the database -> Properties -> Files -> Owner field. Change this field to the login name/account that you want associated with the ‘dbo’ username for that database. Please keep in mind that the login name/account you choose must already be setup in the sql server under Security -> Logins