Can we upgrade from 2005 to 2016 directly

Chaitanya Kiran 796 Reputation points
2022-02-24T16:53:39.23+00:00

Can we upgrade from 2005 to 2016 directly

SQL Server
SQL Server
A family of Microsoft relational database management and analysis systems for e-commerce, line-of-business, and data warehousing solutions.
13,818 questions
0 comments No comments
{count} votes

Accepted answer
  1. YufeiShao-msft 7,116 Reputation points
    2022-02-25T06:10:27.587+00:00

    Hi @Chaitanya Kiran

    You cannot upgrade from 2005 to 2016 directly, or you can choose upgrade to 2008 or 2014 first, like (2008 Version and Edition Upgrades), You can use the "upgrade in place" feature of SQL Server 2005 to SQL Server 2008. SQL Server 2008 Upgrade Technical Reference Guide can help you, and run the SQL Server 2008 Upgrade Wizard, which will point out common problem
    and then upgrade to 2016

    It looks like very complicated, so it is recommended that restore SQL Server 2005 database to 2016, this is the operation supported by SQL Server 2016

    SQL Server 2016 will be able to do the following:
    Attach a SQL Server 2005 (9.x) database (mdf/ldf files) to SQL Server 2016 (13.x) instance of database engine.

    Restore a SQL Server 2005 (9.x) database to SQL Server 2016 (13.x) instance of database engine from a backup.
    https://learn.microsoft.com/en-us/sql/database-engine/install-windows/supported-version-and-edition-upgrades?view=sql-server-ver15#-edition-upgrade

    -------------

    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


2 additional answers

Sort by: Most helpful
  1. Naomi Nosonovsky 7,856 Reputation points
    2022-02-24T18:10:05.827+00:00
    1 person found this answer helpful.
    0 comments No comments

  2. Erland Sommarskog 111.4K Reputation points MVP
    2022-02-24T22:46:11.43+00:00

    It is unlikely that you can do an in-place upgrade, since I don't think there is an operating system that supports both.

    However, you can restore a database backup from SQL 2005 on SQL 2016 without need for intermediate steps.

    1 person found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.