Databases

SQL Database

Microsoft.Sql

Resource types
45 of 168 supported
Data plane
4 types emulated
API versions
7 newest 2025-01-01
Ships as
Plugin 2026.11.01
Plan
Standard and above

Data as of 2026-11-20

Resource types

The Resource Types supported by Locally for the Microsoft.Sql plugin are shown below. You can click into a type to see more information.

Note: This is generated from the latest version of the plugin (2026.11.01) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.

API versions

The latest API version that Locally supports for Microsoft.Sql is 2025-01-01. All 7 versions it supports are listed below.

Stable3

2025-01-01 2023-08-01 2021-11-01

Preview4

2024-11-01-preview 2023-08-01-preview 2023-05-01-preview 2022-05-01-preview

Features

  • A real SQL Server engine for each logical server: SQL Server 2025 Developer edition, or Azure SQL Edge on arm64 machines such as Apple silicon.
  • Any SQL Server client, such as sqlcmd, ADO.NET, ODBC and the Go driver, using the server's fullyQualifiedDomainName.
  • SQL authentication with the server's administrator login, including changing its password.
  • Microsoft Entra authentication with an Entra administrator and access tokens, including Authentication=Active Directory Default in Microsoft.Data.SqlClient.
  • Entra database users: CREATE USER ... FROM EXTERNAL PROVIDER for users, groups, service principals and managed identities.
  • Microsoft Entra-only authentication: turning it on refuses SQL logins.
  • Encrypted connections with Locally's certificate, so TrustServerCertificate=False works.
  • Connection strings for ADO.NET, a connection URI and an Entra login on the Locally Dashboard.
  • Chaos Engineering can throttle or fail logins, slow down sessions, hit the session limit, refuse a client as a firewall would, cut open connections, take a server down, fail it over or restart it. Team

Limitations

General

  • Auditing, threat protection, vulnerability assessments, transparent data encryption, data masking and customer-managed keys can be configured, but nothing runs behind them at this time.
  • Azure SQL Edge, used on arm64, leaves out some SQL Server features, such as CLR integration.
  • Elastic pools, SKUs and maxSizeBytes don't limit or share resources.
  • Managed Instance, instance pools, SQL Data Sync and dedicated SQL pool (data warehouse) features aren't supported.

Failover Groups

  • Failover groups can be created, but there's no geo-replication and you can't fail over at this time.

Job Agents

  • Elastic job agents, jobs and steps can be defined, but jobs don't run at this time.

Server Databases

  • Import, export and rename aren't available at this time.
  • Restore, point-in-time restore, recovery, long-term retention restore, secondaries and copies from another server create an empty database at this time.
  • Sample databases such as AdventureWorksLT aren't available at this time, so an empty database is created instead.

Servers

  • Creating a server needs Microsoft's SQL Server licence accepted first, with locally licence sql-server --accept.
  • Deleted servers can't be restored at this time.
  • Firewall rules, virtual network rules, publicNetworkAccess and minimalTlsVersion are stored but not enforced.

A local cloud for you and your AI agents.

Your Azure infrastructure, running on your machine. Deploy in seconds, break things freely, and ship to Azure when you're ready.