|
|
Question : How to copy security settings from one server to another in SQL 2005
|
|
Hi
I have a main server on which I performed an "in place" SQL 2005 upgrade to SQL 2005 from SQL 2000 and everything worked fine. Now I have copied the mdf & ldf files to a second server but I'm struggling to get the security setup (my ignorance rather than a bug)
The database (in sql 2000) was secured by SQL security (as opposed to NT security) users logins were then assigned membership of a database role to which database rights were assigned.
How do I copy all these settings from the working server (production environment) over to my new server (development environment) now both are only runnigs SQL 2005.
Many thanks
|
Answer : How to copy security settings from one server to another in SQL 2005
|
|
ok i see that tool is for 2000
in 2005 in management studio right click your database select tasks - script database select all objects in the options screen set all to false except logins
run the resultnat script on the dev db
|
|
|
|