Requires Free Membership to View

If you need to move 300 databases, I think you'll discover that the fastest way is to use sp_detach_db on the SQL Server 2000 instance to detach each database and sp_attach_db to re-attach the databases on the SQL Server 2005 instance. Doing so also has the benefit of preserving your database users.
However, even with that method you'll still have to get the logins into the SQL Server 2005 instance. To access a KB article, which includes a script that should help you with that task, see this Microsoft support page.
Note that you might have to re-map the logins to database users once you're done. To do so, use the sp_change_users_login system stored procedure.
This was first published in May 2006
Join the conversationComment
Share
Comments
Results
Contribute to the conversation