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:
| Situation | Path |
|---|---|
| One server and a long maintenance window | In place upgrade |
| Spare server and a need for an easy rollback | Side by side restore |
| Sysadmin rights on both servers and a wish to move logins | Copy Database Wizard |
| Live databases and no time for scripts | Migration software |
What Must You Check Before the Upgrade?
Seven checks come before any upgrade:
- Check that the instance has SQL Server 2014 SP2 or later with this query:
SELECT SERVERPROPERTY('ProductVersion') AS version,
SERVERPROPERTY('ProductLevel') AS service_pack;
- Confirm that the instance and the operating system are 64 bit.
- Restart Windows when a restart is pending. Setup stops the upgrade in that case.
- Confirm that the Windows Installer service works.
- Add the SQL Server Agent service account to the sysadmin role and enable Windows Authentication for the Agent.
- 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.
- 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.
| Method | Server | Main limit |
|---|---|---|
| In Place Upgrade | Same server | No new features during the upgrade |
| Backup and Restore | New SQL Server 2019 server | Logins and Agent tasks move separately |
| Copy Database Wizard | New SQL Server 2019 server | Not available in Express edition |
| Migration Software | New SQL Server 2019 server | Trial 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:
- Right click setup.exe on the SQL Server 2019 media and select Run as administrator.
- Select Installation in SQL Server Installation Center.
- Select Upgrade from a previous version of SQL Server.
- Enter the product key and accept the license terms.
- Wait for Install Rules to finish and fix every failed rule.
- Select the SQL Server 2014 instance on Select Instance.
- Review the feature list and click Next.
- Click Upgrade on Ready to Upgrade.
- 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:
- Install SQL Server 2019 on the new server.
- Back up ShopDB on the old instance:
BACKUP DATABASE ShopDB
TO DISK = N'G:\Upgrade\ShopDB.bak'
WITH CHECKSUM, STATS = 10;
- Copy ShopDB.bak to the new server.
- 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;
- Create the logins of the old instance on the new instance.
- 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:
- Right click ShopDB on the old instance and select Tasks and then Copy Database.
- Enter the SQL Server 2019 server as the destination.
- Select Use the SQL Management Object method when users still need ShopDB.
- Select Copy and add the logins on the server objects page.
- 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:
- Start the software on a Windows PC that reaches both instances and click Open.
- Select Live SQL Server with Authentication in Online mode and add the login details of the 2014 instance.
- Choose the database in the Drop Down List and click OK.
- Close the scan message.
- Browse the tree to review tables, views and procedures.
- Click Export.
Export to the SQL Server 2019 Instance
Eight steps send the database to the new instance:
- Select SQL Server Database as the type.
- Add the Server Name with Authentication of the 2019 instance.
- Select Create New Database or Export to Existing Database.
- Set Collation Settings to match ShopDB.
- Tick the objects to move.
- Select With Schema & Data.
- Click Save.
- Click OK when Export Completed appears.
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.
- Take a new full backup of every upgraded database.
- Update the statistics as Microsoft recommends after an upgrade:
USE ShopDB;
EXEC sp_updatestats;
- Repopulate the full text catalogs of databases that use them.
- 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:
| Problem | Reason | Fix |
|---|---|---|
| Setup refuses to start | A restart is pending | Restart Windows and start Setup again |
| Setup refuses to start | The Windows Installer service is stopped | Start the Windows Installer service |
| Rule check fails on the Agent | The Agent account is not in the sysadmin role | Add the account and enable Windows Authentication |
| Instance does not appear on Select Instance | The source is below SQL Server 2014 SP2 or is 32 bit | Apply SP2 or use a side by side restore |
| New features are missing | Setup cannot add features while upgrading | Add 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.