Re: Upgrade 500 databases from SQL 2000 to SQL 2005
- From: "David Gugick" <david.gugick-nospam@xxxxxxxxx>
- Date: Thu, 26 Jan 2006 19:23:58 -0500
q_test wrote:
I have a SQL Server 2000 server with 5 instances and about 500
databases in total. Now I need to upgrade all of them to SQL Server 2005 on
Windows 2003, using side-by-side upgrade, which means, the existing
SQL 2000 software and databases will still be running. I will install
SQL 2005 on the same machine and move a few databases in each
instance for testing. When the test is successful, I will migrate all
to SQL Server 2005.
So the questions are:
1. Can I detach a database from SQL Server 2000 and re-attach to SQL Server 2005? If this is sufficient, I can write a script to process all 500 databases.
2. Do I need to re-map database user account after migration to SQL server 2005? It is still on the same machine, but different instances.
3. Any other suggestions/best-practice to upgrade in a hosting environment? Thanks a lot.
You can use the following:
Copy Database Wizard - SQL Server Management Studio, in Object Explorer, expand Databases, right-click a database, point to Tasks, and then click Copy Database.
BACKUP/RESTORE
If you don't mind taking the databases offline, you can use sp_detach_db on the SQL 2000 source databases, copy the database and log files, and then use CREATE DATABASE... FOR ATTACH on SQL 2005.
--
David Gugick
Quest Software
www.quest.com
.
- References:
- Upgrade 500 databases from SQL 2000 to SQL 2005
- From: q_test
- Upgrade 500 databases from SQL 2000 to SQL 2005
- Prev by Date: SQL Server 2005 does not recognize Verisign SSL Certificate
- Next by Date: Re: how do you set up an admin account?
- Previous by thread: Upgrade 500 databases from SQL 2000 to SQL 2005
- Next by thread: Re: Upgrade 500 databases from SQL 2000 to SQL 2005
- Index(es):
Relevant Pages
|