Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 Database Design and Application Architecture
 Restore DB as a sql user authenication

Author  Topic 

mhbdba
Starting Member

8 Posts

Posted - 2007-10-04 : 17:03:24
How can i Restore a Database as a sql user authenication rather than windows user authentication.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-10-04 : 17:13:24
There is no difference between which authentication method you use when restoring databases.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

mhbdba
Starting Member

8 Posts

Posted - 2007-10-04 : 17:38:23
right but my question is how can one restore using sql authentication. thanks
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-10-04 : 17:47:15
Same statement same gui, as long as sql id used has proper permission.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-10-04 : 17:48:33
quote:
Originally posted by mhbdba

right but my question is how can one restore using sql authentication.



There is no difference. So how do you restore using Windows authentication?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

mhbdba
Starting Member

8 Posts

Posted - 2007-10-04 : 18:05:16
well if you restore using windows authentication than the dbo show as windows authentication user, but i need to show it as sql authentication user and i mean when you right click on the db and go to properties in enterprise manager it should give you a sql user as the dbo.
Go to Top of Page

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2007-10-04 : 18:11:31
What are you talking about? Do you just want to change the owner of the database?

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/
Go to Top of Page

rmiao
Master Smack Fu Yak Hacker

7266 Posts

Posted - 2007-10-04 : 18:14:16
You can always change it with sp_changedbowner.
Go to Top of Page

mhbdba
Starting Member

8 Posts

Posted - 2007-10-05 : 13:15:25
Never Mind Guys, thank you for all your help
Go to Top of Page
   

- Advertisement -