sql server hub / ssms release

SSMS 22.7.0 new features

SQL Server Management Studio 22.7.0 adds preview SQL formatting, preview schema compare, Copilot Agent Mode, Database DevOps improvements, and several practical fixes.

Microsoft released SSMS 22.7.0 on June 9, 2026. This page explains what changed, which parts are still preview, and when it is worth updating a DBA workstation instead of just reading the release notes.

Illustrative SSMS 22.7.0 workspace with SQL formatting, schema compare, and Copilot Agent Mode feature panels
Generated feature visual. It is not an official Microsoft screenshot.

Guide

Operational guide~9 min readUpdated 12 Jun 2026

Share

LinkedInXEmail

What changed in SSMS 22.7.0

SSMS 22.7.0 is a meaningful point release for SQL Server Management Studio 22. It is not just a small fix bundle. The headline changes are preview SQL formatting in the query editor, preview schema compare, GitHub Copilot Agent Mode, Copilot execution context, and Database DevOps workload improvements.

It is also worth saying what this release is not. It is not a SQL Server engine update, not a cumulative update for the Database Engine, and not a replacement for SQL Server Configuration Manager. It updates the client tool used to connect, query, review, and manage SQL Server environments.

The release still needs a calm reading. Several of the interesting features are explicitly preview features. That makes them useful for testing and workflow review, but not something to drop into production change control without checking the output first.

For the canonical installer and version table, use the SSMS downloads page. This article is the practical reading of what 22.7.0 changes for people who use SSMS as a daily DBA or database development tool.

SSMS 22.7.0 feature summary

The release splits into three groups: editor productivity, database project workflow, and Copilot-assisted work. There are also dependency and shell updates that matter mostly when you manage workstation builds, extensions, or locked-down desktop images.

ChangePractical meaning
SQL formatting previewBuilt-in formatting for T-SQL in the query editor, with style options for common layout choices.
Schema compare previewCompare database definitions across connected databases, SQL projects, and .dacpac files.
GitHub Copilot Agent Mode previewAn agentic Copilot workflow inside SSMS for users who already use Copilot with database work.
Copilot execution contextDatabase-level Copilot context through constitution or instruction text named CONSTITUTION.md.
Database DevOps workloadProject creation, target platform, SQLCMD variable, and properties improvements for database project workflows.
Azure SQL Managed Instance supportWindows account creation support for Azure SQL Managed Instance scenarios.
Microsoft.Data.SqlClient 6.1.5Updated SQL client dependency used by SSMS.
Visual Studio 18.7.0 [11903.348]Updated Visual Studio shell/runtime base for SSMS 22.7.0.

SQL formatting in the query editor

The most visible change for many SSMS users is SQL formatting. SSMS has long been the default tool on DBA machines, but formatting was usually handled by extensions, external tools, personal habits, or nothing at all. SSMS 22.7.0 starts bringing that work into the query editor.

Microsoft describes the formatter as a preview. In practice, that means it is worth testing on scratch queries, review scripts, and internal style examples before formatting shared deployment scripts. Formatter output can be technically valid and still annoying if it fights the style already used by a company or vendor.

The useful settings are the normal ones people argue about: keyword casing, indentation, semicolon behavior, clause layout, and multiline lists. The feature is useful because it gives a consistent baseline. It is not a substitute for reviewing the query itself.

A sensible first test is to run it against representative internal scripts: one troubleshooting query, one deployment script, one stored procedure, and one report query with complicated joins. If the output is readable and does not hide important intent, it may be ready for wider use. If it makes every script harder to review, keep it out of shared workflows for now.

Schema compare preview

Schema compare is the other major preview feature. It compares database definitions so you can see drift between a database, a SQL project, or a .dacpac file. That is useful when a database has changed outside the project, when a project needs to be checked against a real environment, or when a release branch no longer matches the target database.

Treat it as a review tool first. A generated difference list can help find missing objects, changed columns, permission differences, and project drift. It should not become an automatic deployment decision. Review what it wants to change, especially on databases with vendor objects, hand-applied hotfixes, replication, security differences, or old compatibility decisions.

This is especially useful before planned change work. A schema compare can show whether the database in front of you still matches the project or package you think represents it. That does not make the deployment safe by itself, but it does reduce the chance of discovering drift in the middle of a release window.

GitHub Copilot Agent Mode in SSMS

SSMS 22.7.0 also previews GitHub Copilot Agent Mode. This is for users who want Copilot inside SSMS and have the right AI Assistance workload, account, and subscription setup. Normal SSMS use does not require Copilot, and this release still works as a regular database administration tool without it.

Microsoft notes that Agent Mode can execute queries and commands with approval. SQL Server permissions remain the real security boundary. The practical way to think about Agent Mode is as a workflow assistant, not an authority. It can help explore code, explain objects, and draft changes, but production SQL work still needs the usual human checks: permissions, execution context, transaction behavior, estimated and actual plans, backup or rollback path, and who approved the change.

Copilot execution context and CONSTITUTION.md

Microsoft also calls out Copilot execution context through database-level constitution or instruction text named CONSTITUTION.md. Microsoft documents this as database-level Copilot context, commonly stored as a database extended property.

The useful idea is simple: Copilot can be given database-level instructions instead of starting from a blank prompt every time. Keep that context boring and safe. Good context might describe naming patterns, project conventions, deployment rules, or review expectations. Do not put passwords, tokens, customer data, private connection strings, or sensitive production details into database instructions or execution-context text.

Database DevOps workload updates

The Database DevOps workload updates are less flashy than Copilot, but they may matter more for database teams that keep schema in source control. SSMS 22.7.0 adds target database and platform selection in the new SQL project dialog, a create-project-from-database action in Solution Explorer, SQLCMD variable support in the Publish dialog, and a refreshed SQL project Properties editor.

Those changes make SSMS more useful when a database project is not just an afterthought. They help when the real work is moving a database definition into a project, publishing with environment variables, or checking that project settings match the SQL Server or Azure SQL target.

Bug fixes worth knowing

The fixes in 22.7.0 are mostly quality-of-life items. They are still worth knowing because several touch common daily surfaces: connection dialogs, Activity Monitor, Object Explorer, Copilot model selection, and result-grid export.

FixWhy it matters
Command-line connection dialogSSMS 22.7.0 fixes connection-dialog behavior when SSMS is opened with command-line options.
Activity MonitorActivity Monitor returns to the legacy connection dialog behavior.
Copilot model listThe GPT-5 model is restored for GitHub Copilot users.
Object Explorer rename warningRename warning behavior is corrected in Object Explorer.
Results grid exportSave Results As filter behavior is fixed for result-grid exports.
Visual Studio base updateThe underlying Visual Studio version moves to 18.7.0 [11903.348].

Should you update to SSMS 22.7.0?

Most SSMS 22 users should plan to update. The release brings useful editor and project features, fixes visible rough edges, and moves the underlying shell forward. For an individual workstation, this is usually a normal tool update.

Be more cautious on managed desktops, jump boxes, locked-down admin workstations, or machines with important SSMS extensions. Test install behavior, extension compatibility, saved connections, authentication paths, and any corporate software packaging before broad rollout.

If SSMS is part of a standard admin image, treat it like any other desktop tool update. Confirm who owns the package, whether offline layout files are needed, whether older SSMS major versions remain installed, and whether helpdesk or DBA documentation needs a small note about the new formatter and preview schema compare options.

Preview features should be tested deliberately. SQL formatting, schema compare, and Copilot Agent Mode can all save time, but none of them should replace review discipline for production database changes.

Download and install SSMS 22.7.0

Download SSMS 22.7.0 from Microsoft's SSMS install page or use the SSMS downloadsreference here for the current Microsoft-listed installer. For the current SSMS 22 download, start with Microsoft's installer page or the local SSMS downloads reference.

SSMS 22 setup uses vs_SSMS.exe and Visual Studio Installer. It is not a standalone MSI. That matters for software packaging, offline install planning, and companies that manage DBA workstations through desktop tooling.

Installing SSMS updates the management tool, not the SQL Server Database Engine. Use the SQL Server latest updates tracker for engine builds, and use SQL Server Configuration Manager for services, protocols, and service accounts.

SSMS 22.7.0 FAQ

Is SSMS 22.7.0 the latest version?

+

Yes. Microsoft lists SSMS 22.7.0 as the current SSMS 22 release, released on June 9, 2026.

Is SQL formatting in SSMS 22.7.0 generally available?

+

No. Microsoft describes SQL formatting in this release as a preview. It is useful to test, but it should not be treated as a settled formatting standard for shared scripts yet.

Does SSMS 22.7.0 include schema compare?

+

Yes, SSMS 22.7.0 includes schema compare preview support for comparing database definitions across connected databases, SQL projects, and .dacpac files.

Do I need Copilot to use SSMS 22.7.0?

+

No. SSMS works normally without Copilot. Copilot Agent Mode and related execution-context features matter only if you use the AI Assistance workload and have the required Copilot setup.

Where do I download SSMS 22.7.0?

+

Use Microsoft's SSMS download page or the SSMS downloads page on this site. SSMS 22 setup uses vs_SSMS.exe and Visual Studio Installer.

Can I install SSMS 22.7.0 side by side with another SSMS version?

+

Yes. Microsoft documents that SQL Server Management Studio 22 can be installed side by side with other versions. Still, do not assume every extension, shell component, or corporate desktop policy will behave the same way. Test managed workstations before broad rollout.

Should DBAs use preview features in production workflows?

+

Use preview features for review, testing, and low-risk workflow improvement first. Do not let a preview schema compare, formatter, or AI workflow become the only production change control.

Next step

Need the canonical installer table? Use SSMS downloads. Need SQL Server engine builds? Use the latest updates tracker.

If an SSMS update is part of a larger workstation, patching, or database project rollout, read the SQL Server patching guide or request a review.

Request SQL Server reviewSQL Server consulting