Short answer: the safest way to upgrade a production SQL Server is usually a side-by-side upgrade: build a new server on a supported version, move the databases to it, test against your real workload, then cut over, leaving the old server untouched as your rollback. An in-place upgrade is faster and simpler, but it has a weak rollback path, so reserve it for low-risk or non-production systems, or for cases where you have a tested server-level rollback such as a virtual machine snapshot.
Updated October 13, 2026. Written by Nathan Jaskot, founder of Everconnect Data Systems, a US-based, veteran-owned database consulting firm founded in 2010. Technical facts were checked against Microsoft documentation on that date (sources at the bottom).
At a glance
- Side-by-side: new server, old server stays intact, easiest rollback, more work and a cutover window.
- In-place: upgrades the existing instance, least effort, rollback means restoring backups or a snapshot.
- Always: inventory first, test on a copy, keep the old database compatibility level until the new server is proven, update statistics, and keep the old server for an agreed period.
- Biggest hidden risks: missing logins, jobs and linked servers, query plan changes, old drivers and TLS settings, and applications nobody listed.
Side-by-side vs in-place upgrade
| Question | Side-by-side | In-place |
|---|---|---|
| Rollback | Point applications back to the untouched old server. | Restore from backups or a snapshot of the whole server. Slower and riskier. |
| Downtime | Cutover window only; can be shortened with log shipping or an availability group (see minimal-downtime methods). | Instance is unavailable during the upgrade, which can take a while on large estates. |
| Operating system or hardware change | Easy: you build new. | Not changed by the upgrade itself. |
| Testing before cutover | Easy: test the copy as long as you need. | Hard: you test elsewhere, then upgrade the real thing. |
| Effort | Higher: build, copy server-level objects, move data. | Lower: run setup. |
| Best for | Business-critical systems and anything with strict rollback needs. | Dev/test, small low-risk instances, or when a full server snapshot rollback is proven. |
A safe upgrade in 8 steps
- Inventory. List every instance, edition, version, database, owner and dependent application. Include jobs, linked servers, SSIS packages, reports and anything that connects.
- Pick the target. Choose a supported SQL Server version (or an Azure option, see our decision guide) and confirm your application vendors support it.
- Check compatibility. Run Microsoft’s current assessment tooling and review deprecated and discontinued features. Our pre-upgrade checklist covers the usual traps.
- Build the target and copy server-level objects. Logins (with their security identifiers), server roles, SQL Agent jobs, operators, alerts, linked servers, credentials, certificates and server configuration do not travel with the databases.
- Move the databases. Backup and restore is the simplest method; log shipping, availability groups or replication shorten the final outage.
- Test with a real workload. Keep the database compatibility level at its old value first, enable Query Store, and compare before and after. Test jobs, reports, integrations and failover.
- Plan cutover and rollback. Write the steps, owners, timings and the exact point after which rollback is no longer possible. Freeze changes before the window.
- After cutover. Update statistics, watch performance and errors, then raise the compatibility level in a controlled step. Keep the old server, read-only or powered off, for an agreed period.
Compatibility level and Query Store: the safe way to avoid surprises
When you restore a database to a newer SQL Server, it keeps its old database compatibility level. That is useful: query behavior stays closer to what you had, so you can prove the move is safe before taking on optimizer changes. Raising the level later can change query plans (for example through the newer cardinality estimator and intelligent query processing features). Microsoft’s recommended workflow is to turn on Query Store, capture a baseline at the old level, raise the level, and then use Query Store to find and fix regressions.
-- 1) See current compatibility levels (130 = SQL Server 2016, 140 = 2017, 150 = 2019, 160 = 2022)
SELECT name, compatibility_level FROM sys.databases;
-- 2) Turn on Query Store for the database you are testing
ALTER DATABASE [YourDatabase] SET QUERY_STORE = ON (OPERATION_MODE = READ_WRITE);
-- 3) After you have a baseline and a tested plan, raise the level in a controlled step
ALTER DATABASE [YourDatabase] SET COMPATIBILITY_LEVEL = 160;
What most often goes wrong
- Orphaned users: database users whose logins were not recreated with the same security identifier, so applications cannot sign in.
- Missing server-level objects: jobs, alerts, operators, linked servers, credentials or certificates that were never copied.
- Plan regressions: a query that was fast now is not, usually after a compatibility level change or stale statistics.
- Connectivity: old client drivers or protocol settings that the new server rejects.
- Hidden dependencies: a spreadsheet, report or vendor tool that connects directly and was never on the list.
- No rehearsal: the first time the cutover steps run is on the real night.
Your rollback plan
A good rollback plan answers three questions in writing: what triggers rollback, who decides, and how long it takes. For side-by-side upgrades it is usually “repoint applications to the old server”, which only works if no one writes to the new server after cutover without a way to move that data back. For in-place upgrades it means a restore from backup or a server snapshot, which is why you test that restore before the upgrade, not during an incident.
When to bring in a specialist
Consider outside help when the environment has many instances or vendor applications, when downtime tolerance is tight, when nobody on the team has run a production upgrade, or when compliance requires evidence that the work was planned and tested. Everconnect Data Systems plans and carries out SQL Server upgrades and migrations; start with the free, self-assessment SQL Server Migration & Upgrade Assessment (it does not connect to your databases) or talk to us through database migration services.
Frequently asked questions
For most production systems, a side-by-side upgrade: build a new server on a supported version, move the databases, test with your real workload, then cut over while keeping the old server as the rollback. In-place upgrades carry more risk because rollback means restoring from backup or a snapshot.
An in-place upgrade runs setup on the existing instance and replaces its binaries. A side-by-side upgrade installs a new instance, on the same or a different server, and moves databases and server-level objects to it, leaving the old instance unchanged.
Not by simply uninstalling. Rollback means restoring from backups, or reverting a server or virtual machine snapshot if you took one. Test that restore path before you upgrade.
Usually not at first. Restored databases keep their old compatibility level, which keeps query behavior closer to what you had. Capture a baseline with Query Store, then raise the level in a controlled step and fix any regressions.
Plan to. Updating statistics after an upgrade or migration helps the optimizer make good decisions with the new version. How much to update depends on database size and your maintenance window.
It depends on the method and the size of the databases. A side-by-side approach can reduce the outage to the cutover window when you keep the new server synchronized with log shipping or an availability group. See our guide to minimal-downtime migration methods.
Often yes with a side-by-side backup and restore, but there are minimum supported source versions and feature changes to check. Review Microsoft's documentation for your exact source and target version before you plan.
Application functionality, SQL Agent jobs, reports and integrations, logins and permissions, performance of your most important queries before and after, backups, failover, and the rollback steps themselves.
Not automatically. New versions include optimizer and engine improvements, but plans can also change for the worse. Measure with Query Store before and after rather than assuming.
When you have many instances or vendor applications, tight downtime limits, no recent upgrade experience in-house, or compliance requirements for documented planning and testing.
Related guides
- SQL Server 2016 end of support: what to do now
- SQL Server pre-upgrade checklist
- SQL Server migration with minimal downtime: methods compared
- Upgrade SQL Server or move to Azure? A decision guide
- SQL Server support dates and guides
Sources (checked October 13, 2026)
- Upgrade SQL Server (Microsoft Learn)
- Change the database compatibility mode and use the Query Store
- View or change the compatibility level of a database
- Monitoring performance by using the Query Store
- Cardinality estimation (SQL Server)
- SQL Server end of support options
About the author. Nathan Jaskot is the founder of Everconnect Data Systems, Inc., a US-based, veteran-owned database and technology consulting company he started in 2010. Everconnect works with SQL Server, PostgreSQL, MySQL, Oracle, Azure and AWS. Learn more about Everconnect.







