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
 SQL Server 2005 Forums
 SQL Server Administration (2005)
 Restoring a database, but don't want permissions

Author  Topic 

sql777
Constraint Violating Yak Guru

314 Posts

Posted - 2009-08-21 : 15:17:22
Hi,

I am restoring a database to another sql server (from sql2K to sql2008).

I don't want the user accounts/permissions to be restored, how can I have it so it ignores this?

someone mentioned 'dbo mode only' but I can't see that anywhere.

tkizer
Almighty SQL Goddess

38200 Posts

Posted - 2009-08-21 : 15:18:33
There is no way to do this with the restore. If you don't want the permissions, then you'll need to write a script to remove them.

Tara Kizer
Microsoft MVP for Windows Server System - SQL Server
http://weblogs.sqlteam.com/tarad/

Subscribe to my blog

"Let's begin with the premise that everything you've done up until this point is wrong."
Go to Top of Page
   

- Advertisement -