Home » Blog » SQL Server » How to Upgrade SQL Server 2014 to 2019?

How to Upgrade SQL Server 2014 to 2019?

Neeraj Kumar
Published By Neeraj Kumar
Debasish Pramanik
Approved By Debasish Pramanik
Published On
Last Updated

You can upgrade SQL Server 2014 to 2019 with four methods. An in place upgrade replaces the engine on the same server and needs SQL Server 2014 SP2 or later. A side by side upgrade restores backups on a new 2019 server. Copy Database Wizard and migration software move databases to a new instance. Raise the compatibility level after you test the application.

Teams that upgrade SQL Server 2014 to 2019 face an audit date and a short maintenance window. Support for 2014 ended in July 2024.

Search results list the Setup wizard and stop there. Few explain which path gives a rollback or why the compatibility level needs its own step.

This guide explains four methods to upgrade SQL Server 2014 to 2019, with the checks before the upgrade and the tasks after it.

Microsoft lists SQL Server 2014 SP2 as the minimum source for a direct upgrade in its supported version and edition upgrades article.

Why Upgrade SQL Server 2014 to 2019?

Support is the main reason. Three facts from the Microsoft lifecycle pages explain the urgency:

  • Extended Support. SQL Server 2014 extended support ended in July 2024.
  • Security Updates. Paid Extended Security Updates for SQL Server 2014 end in July 2027.
  • Lifecycle. SQL Server 2019 receives extended support until January 2030.

Microsoft states that SQL Server 2019 exists only for 64 bit platforms. Setup cannot upgrade a 32 bit instance to 64 bit.

Which Upgrade Path Fits Your Server?

Select the path that matches your situation:

SituationPath
One server and a long maintenance windowIn place upgrade
Spare server and a need for an easy rollbackSide by side restore
Sysadmin rights on both servers and a wish to move loginsCopy Database Wizard
Live databases and no time for scriptsMigration software

What Must You Check Before the Upgrade?

Seven checks come before any upgrade:

  1. Check that the instance has SQL Server 2014 SP2 or later with this query:
SELECT SERVERPROPERTY('ProductVersion') AS version,
       SERVERPROPERTY('ProductLevel') AS service_pack;
  1. Confirm that the instance and the operating system are 64 bit.
  2. Restart Windows when a restart is pending. Setup stops the upgrade in that case.
  3. Confirm that the Windows Installer service works.
  4. Add the SQL Server Agent service account to the sysadmin role and enable Windows Authentication for the Agent.
  5. Take a full backup of every user database and of master, model and msdb. Scripts for every backup type sit in Explore Different Types of Backups in SQL Server.
  6. List the logins, linked servers and Agent tasks that the application uses.

4 Ways to Upgrade SQL Server 2014 to 2019

Three methods use tools from Microsoft and the fourth adds software for live databases.

MethodServerMain limit
In Place UpgradeSame serverNo new features during the upgrade
Backup and RestoreNew SQL Server 2019 serverLogins and Agent tasks move separately
Copy Database WizardNew SQL Server 2019 serverNot available in Express edition
Migration SoftwareNew SQL Server 2019 serverTrial record limit

Method #1: Upgrade in Place With Setup (Free, Same Server)

An in place upgrade replaces the SQL Server 2014 engine with SQL Server 2019 on the same server. Nine steps upgrade the default instance:

  1. Right click setup.exe on the SQL Server 2019 media and select Run as administrator.
  2. Select Installation in SQL Server Installation Center.
  3. Select Upgrade from a previous version of SQL Server.
  4. Enter the product key and accept the license terms.
  5. Wait for Install Rules to finish and fix every failed rule.
  6. Select the SQL Server 2014 instance on Select Instance.
  7. Review the feature list and click Next.
  8. Click Upgrade on Ready to Upgrade.
  9. Open SSMS after the progress bar ends and execute SELECT @@VERSION; to confirm version 15.

    Setup cannot add new features while it upgrades an existing instance. Add them afterward.

Note: An in place upgrade replaces the engine files and cannot be undone. Take the backups from the checklist first.

Method #2: Restore Backups on a New Server (Free, Easy Rollback)

In a side by side upgrade the SQL Server 2014 instance remains online while you restore the databases on a new SQL Server 2019 server. Six steps move ShopDB:

  1. Install SQL Server 2019 on the new server.
  2. Back up ShopDB on the old instance:
BACKUP DATABASE ShopDB
TO DISK = N'G:\Upgrade\ShopDB.bak'
WITH CHECKSUM, STATS = 10;
  1. Copy ShopDB.bak to the new server.
  2. Restore ShopDB on the new instance and relocate the files:
RESTORE DATABASE ShopDB
FROM DISK = N'H:\Upgrade\ShopDB.bak'
WITH MOVE N'ShopDB' TO N'H:\Data\ShopDB.mdf',
     MOVE N'ShopDB_log' TO N'I:\Logs\ShopDB_log.ldf',
     STATS = 10;
  1. Create the logins of the old instance on the new instance.
  2. Raise the compatibility level after the application tests.

Rollback needs no extra work because the old instance remains untouched. The Restore a SQL Database From a BAK File guide explains every restore dialog.

Method #3: Use Copy Database Wizard for the Upgrade (Free, Moves Logins)

Microsoft names the Copy Database Wizard as a way to move a SQL Server database to a later version. Copy Database Wizard needs the sysadmin role on both servers and does not exist in Express edition. Five steps copy ShopDB:

  1. Right click ShopDB on the old instance and select Tasks and then Copy Database.
  2. Enter the SQL Server 2019 server as the destination.
  3. Select Use the SQL Management Object method when users still need ShopDB.
  4. Select Copy and add the logins on the server objects page.
  5. Finish the wizard and check the new database.

Note: Copy Database Wizard also offers a detach and attach mode. The guide on Copy SQL Database From One Server to Another compares both modes.

Method #4: Migrate Live Databases to SQL Server 2019 With EmailDoctor (Free Preview, Paid Export)

Teams that must move databases without scripts choose EmailDoctor SQL Server Data Migration Tool. The migration software connects to the SQL Server 2014 instance and exports databases with schema and data to the SQL Server 2019 instance. Vendor notes list SQL Server 2019 and earlier releases.

The free trial previews every object but exports only 25 records per table and 5 other categories. Paid versions remove that limit.

Connect to the SQL Server 2014 Instance

Six steps open the database and show its objects:

  1. Start the software on a Windows PC that reaches both instances and click Open. Open button on the home screen
  2. Select Live SQL Server with Authentication in Online mode and add the login details of the 2014 instance. Login window for the old instance
  3. Choose the database in the Drop Down List and click OK. Database list of the 2014 instance
  4. Close the scan message.
  5. Browse the tree to review tables, views and procedures.
  6. Click Export. Preview of the objects

Export to the SQL Server 2019 Instance

Eight steps send the database to the new instance:

  1. Select SQL Server Database as the type. Export type options
  2. Add the Server Name with Authentication of the 2019 instance. Login window for the new instance
  3. Select Create New Database or Export to Existing Database.
  4. Set Collation Settings to match ShopDB. Collation settings
  5. Tick the objects to move. Object selection
  6. Select With Schema & Data.
  7. Click Save. Save button
  8. Click OK when Export Completed appears. Export Completed message Upgraded database in SQL Server 2019

Note: Offline mode opens an MDF file when the old instance is down. Select SQL Server Compatible SQL Scripts to create a script file.

Which Tasks Finish the Upgrade?

Four tasks finish the work on every method. Microsoft lists the compatibility level as a separate step after the engine.

  1. Take a new full backup of every upgraded database.
  2. Update the statistics as Microsoft recommends after an upgrade:
USE ShopDB;
EXEC sp_updatestats;
  1. Repopulate the full text catalogs of databases that use them.
  2. Raise the compatibility level after the application tests, with Query Store to watch for regressions:
SELECT name, compatibility_level FROM sys.databases;

ALTER DATABASE ShopDB SET QUERY_STORE = ON;
ALTER DATABASE ShopDB SET COMPATIBILITY_LEVEL = 150;

This command needs ALTER permission on the database. Learn its effect on your applications first and test on a restored copy.

Which Problems Stop the Upgrade?

Five problems stop an upgrade:

ProblemReasonFix
Setup refuses to startA restart is pendingRestart Windows and start Setup again
Setup refuses to startThe Windows Installer service is stoppedStart the Windows Installer service
Rule check fails on the AgentThe Agent account is not in the sysadmin roleAdd the account and enable Windows Authentication
Instance does not appear on Select InstanceThe source is below SQL Server 2014 SP2 or is 32 bitApply SP2 or use a side by side restore
New features are missingSetup cannot add features while upgradingAdd the features with Setup afterward

Frequently Asked Questions

Can I Upgrade SQL Server 2014 to 2019 Directly?

Yes. Microsoft lists a direct path from SQL Server 2014 SP2 or later. Apply the service pack first when the instance has an older build.

Can I Upgrade SQL Server 2012 to 2019 Directly?

Yes. Microsoft requires SQL Server 2012 SP4 or later for a direct upgrade. The Migrate SQL Server 2012 to 2019 guide has the steps.

Do I Need to Raise the Compatibility Level After the Upgrade?

Yes. Microsoft lists the compatibility level upgrade as its own step after the engine upgrade and advises Query Store to monitor regressions.

Can Setup Add Features During the Upgrade?

No. Setup cannot add new features while it upgrades an existing instance.

Can I Upgrade a 32 Bit Instance?

No. Microsoft states that Setup cannot upgrade a 32 bit instance to 64 bit. Back up or detach the databases and restore or attach them on a new 64 bit instance.

Can I Move a Database Back to SQL Server 2014?

No. A database from a more recent release cannot attach to an earlier version. Restore the backup that you took before the upgrade.

Can Migration Software Upgrade a Live SQL Server 2014 Database?

Yes. Select Online mode and Live SQL Server with Authentication then export the database to the SQL Server 2019 instance.

Does the Trial Version Export Every Table?

No. Trial exports stop at 25 records per table and 5 other categories. Buy a license for a full export.

Author’s Verdict

In place upgrades save hardware but give the least room for a rollback. Side by side restores keep the old instance online for a quick return.

Copy Database Wizard adds logins and needs sysadmin rights. Migration software fits live databases when scripts take too long.

Raise the compatibility level only after the application tests pass. Save the old backups for the first week.

  • Four methods move SQL Server 2014 to 2019.
  • In place needs SQL Server 2014 SP2 and a 64 bit instance.
  • Side by side restore gives the old instance as a rollback.
  • Copy Database Wizard moves logins.
  • Migration software exports live databases.
  • Raise the compatibility level as a separate step and take a new backup.
  Neeraj Kumar

By Neeraj Kumar

Neeraj Kumar is a Principal Technical Architect at EmailDoctor with 19+ years of experience in email migration, cloud migration, data recovery and digital forensics. He guides enterprise teams through Exchange, Office 365 and Google Workspace projects and shares what works as an EmailDoctor writer. Every method in his posts is tested on Windows and Mac before it goes live.