Coding With Fun
Home Docker Django Node.js Articles Python pip guide FAQ Policy

Can a sql server 2000 instance be upgraded to sql server 2008?


Asked by Marisol Lester on Dec 12, 2021 SQL



You can upgrade your SQL Server 2000 instance to SQL Server 2008 R1 and then perform a subsequent upgrade to SQL Server 2008 R2. For an "in-situ" upgrade (MSDN links): You can upgrade instances of SQL Server 2000, SQL Server 2005 or SQL Server 2008 to SQL Server 2008 R2.
In respect to this,
You can upgrade instances of SQL Server 2000, SQL Server 2005 or SQL Server 2008 to SQL Server 2008 R2. You can upgrade from SQL Server 2005, SQL Server 2008, and SQL Server 2008 R2 to SQL Server 2012. yet another option is to try to connect database (files) of sql2k to sql2k8 directly.
Also, To have a successful upgrade, you need to plan and put together the necessary test cases. The Upgrade Advisor will analyze and provide reports on the database objects, T-SQL scripts and deprecated commands (if there are any), so you can address these prior to the upgrade.
And,
Update: as @Péter correctly mentions: this leaves your database in the SQL Server 2000 compatibility mode. This means: even though you've "migrated" to SQL Server 2008 R2, you can still only use the 2000 features. In order to see what compatibility mode your database is in, check the sys.databases catalog view:
Thereof,
Restoring a database backup created on a SQL Server 2008 R2 to a SQL Server 2012 instance goes smoothly. But, if a SQL Server 2000 backup is tried to be restored on a SQL Server 2012, the following error will be shown: