DATABASE

Upgrading to SQL Server 2008

9/4/2010 5:30:24 PM

You can upgrade from SQL Server 2000 or SQL Server 2005 to SQL Server 2008 using either an in-place or side-by-side upgrade.

Tip

Prior to upgrading, run the Upgrade Advisor, available at http://www.microsoft.com/sql, against your SQL Server 2000 and 2005 instances and code base to determine any incompatibilities.


 

In-Place Upgrade

An in-place upgrade allows you to install SQL Server 2008 over the top of an existing SQL Server 2000 or 2005 instance. SQL Server will perform the following actions during an in-place upgrade:

  • Install SQL Server 2008 binaries

  • Upgrade the SQL Server 2000 or 2005 databases

  • Remove SQL Server 2000 or 2005 binaries, services, and registry entries

  • Start the SQL Server 2008 instance

At the completion of an in-place upgrade, the SQL Server 2000 or 2005 instance will be replaced by the SQL Server 2008 instance. Your databases, security settings, and configuration options will migrate to the new SQL Server 2008 instance. The previous SQL Server 2000 or 2005 instance will no longer exist on the machine.

Side-by-Side Upgrade

A side-by-side upgrade allows you to install a SQL Server 2008 instance without affecting the existing SQL Server 2000 or 2005 instance. Once installed, you will need to move all of your SQL Server 2000 or 2005 databases, objects, and settings over to the SQL Server 2008 instance.

Note

Review the upgrade whitepapers on http://www.microsoft.com/sql, as well as the documentation that ships with the SQL Server Upgrade Advisor, for detailed information on upgrading from SQL Server 2000 and 2005.


 

While a side-by-side upgrade involves many more steps that have to be performed manually, it has the advantage of leaving SQL Server 2000 or 2005 instance intact. The side-by-side upgrade allows you to move databases to SQL Server 2008 in a staged manner.

Note

You cannot upgrade system databases using a side-by-side upgrade method. You will learn about system databases in article, “SQL Server 2008: Creating Databases.”


Upgrade Methods

When performing a side-by-side upgrade, you have three different methods to choose from:

  1. Backup and restore

  2. Detach and attach

  3. Copy Objects Wizard

When upgrading utilizing a backup and restore method, you will take a backup of your database from SQL Server 2000 or 2005 and restore it to SQL Server 2008.

Note

You will learn about backing up and restoring databases in article, “SQL Server 2008: Data Recovery.”


 

When upgrading utilizing the detach and attach method, you will detach the databases from SQL Server 2000 or 2005, copy the database files to a new location, and attach the database to the SQL Server 2008 instance.

Note

You will learn about detaching and attaching databases in article, “SQL Server 2008: Creating Databases.”


 

The Copy Objects Wizard, which is a task available within SQL Server Integration Services (SSIS), can be accessed in a variety of ways. The Copy Objects Wizard allows you to specify the database objects along with the migration settings that are used.

Tip

If you need to upgrade only a portion of a SQL Server 2000 or 2005 database, the Copy Objects Wizard provides a path to move only the set of objects that you want to upgrade. If you are upgrading the entire SQL Server 2000 or 2005 database, the Copy Objects Wizard provides the least efficient upgrade method.

 

Other  
 
Video
Top 10
SG50 Ferrari F12berlinetta : Prancing Horse for Lion City's 50th
The latest Audi TT : New angles for TT
Era of million-dollar luxury cars
Game Review : Hearthstone - Blackrock Mountain
Game Review : Battlefield Hardline
Google Chromecast
Keyboards for Apple iPad Air 2 (part 3) - Logitech Ultrathin Keyboard Cover for iPad Air 2
Keyboards for Apple iPad Air 2 (part 2) - Zagg Slim Book for iPad Air 2
Keyboards for Apple iPad Air 2 (part 1) - Belkin Qode Ultimate Pro Keyboard Case for iPad Air 2
Michael Kors Designs Stylish Tech Products for Women
REVIEW
- First look: Apple Watch

- 3 Tips for Maintaining Your Cell Phone Battery (part 1)

- 3 Tips for Maintaining Your Cell Phone Battery (part 2)
Popular Tags
Video Tutorail Microsoft Access Microsoft Excel Microsoft OneNote Microsoft PowerPoint Microsoft Project Microsoft Visio Microsoft Word Active Directory Exchange Server Sharepoint Sql Server Windows Server 2008 Windows Server 2012 Windows 7 Windows 8 Adobe Flash Professional Dreamweaver Adobe Illustrator Adobe Photoshop CorelDRAW X5 CorelDraw 10 windows Phone 7 windows Phone 8 Iphone