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

Can a sql server 2005 database be upgraded to sql server 2017?


Asked by Rylee Santiago on Dec 12, 2021 SQL



Restore a SQL Server 2005 (9.x) database to SQL Server 2017 (14.x) instance of database engine from a backup. Back up a SQL Server 2005 Analysis Services (SSAS) cube and restore it on SQL Server 2017 (14.x). When a SQL Server 2005 (9.x) database is upgraded to SQL Server 2017 (14.x), the database compatibility level will be changed from 90 to 100.
Keeping this in consideration,
Upgrade part is tricky. Follow the steps which vivek mentioned and also go through this: https://docs.microsoft.com/en-us/sql/database-engine/install-windows/are-you-upgrading-from-sql-server-2005?view=sql-server-2017 You can use the same DMA tool to upgrade/migrate your database to SQL Server 2016.
In fact, In SQL Server 2017 (14.x), you will be able to do the following: Attach a SQL Server 2005 (9.x) database (mdf/ldf files) to SQL Server 2017 (14.x) instance of database engine. Restore a SQL Server 2005 (9.x) database to SQL Server 2017 (14.x) instance of database engine from a backup.
Indeed,
Applies to: SQL Server (all supported versions) - Windows only. You can upgrade from SQL Server 2012 (11.x), SQL Server 2014 (12.x), SQL Server 2016 (13.x), and SQL Server 2017 (14.x). This article lists the supported upgrade paths from these SQL Server versions, and the supported edition upgrades for SQL Server 2019 (15.x).
Subsequently,
You can migrate databases from older versions. For example, you can migrate databases from SQL Server 2008 R2 to SQL Server 2019. For information, see Azure Database Migration Guide. The following tips and tools can help you plan and implement your migration.