/microsoft-azuresqldb-container:azuresql-db-faqfrom Microsoft Azure SQL Database container
Answers questions about what the local Azure SQL Database container (Private Preview) supports and why it differs from the cloud service or SQL Server. Covers engine features, managed-service gaps, and known limitations.
Ships in Microsoft Azure SQL Database container. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Use this skill to answer "can I / why can't I / is X supported / what's different from the cloud" questions accurately, instead of guessing from general SQL Server or Azure SQL Database knowledge. A base model does not know this preview product's specifics, and the honest answers are often nuanced.
The container reports EngineEdition 5, Edition SQL Azure, build 12.0.2000.8. It refuses
BACKUP and RESTORE with Msg 40510, USE on a user-database connection with Msg 40508,
SET CONTAINMENT = PARTIAL with Msg 12824, and BULK INSERT from a local file with Msg 12713.
Image tags through 18.0.226_4_147 also refuse a contained user with Msg 33233; later builds
accept it. The gap list this skill summarises tracks the published Known
limitations page, which moves independently of this skill, so read the live page before
repeating a gap claim.
The container is the Azure SQL Database engine, running locally. It is not the managed cloud service, and it is not SQL Server. Sort almost any "is X supported" question into one of four buckets and the answer follows:
VECTOR type and
VECTOR_DISTANCE, Always Encrypted (basic).
SERVERPROPERTY('EngineEdition') returns 5, Edition is 'SQL Azure'.CREATE VECTOR INDEX used to belong here and no longer does: it
works, and the Known limitations page says so. See below.BACKUP DATABASE and RESTORE DATABASE with Msg 40510 ("not supported in this version"), in every session. Azure SQL Database in the cloud likewise does not support them, because backups there are managed by the platform (not run with the BACKUP statement). For local data persistence, use a Docker named volume (-v sqldb-data:/var/opt/mssql); for managed backups, point-in-time restore, or geo-replication, use Azure SQL Database in the cloud.USE otherdb fail with Msg 40508?" Because a connection to a user database is an Azure-faithful session that enforces the same restriction as Azure SQL Database in the cloud. Select the database in the connection string (Database=appdb), do not switch with USE. (USE "works" only on a master connection, which is a provisioning session.)master connection (CREATE DATABASE appdb), then connect with Database=appdb.--platform linux/amd64 (Docker) or platform: linux/amd64 (compose). Say "runs under emulation", never "ARM64 is supported", and do not promise a native build or a date. If the user wants one, point them at https://aka.ms/azuresqldb-container-feature-request.CREATE VECTOR INDEX?" You probably can: the DiskANN index builds and VECTOR_SEARCH returns ranked results against it, and the Known limitations page lists it as working, with restrictions. Two things stop the statement: SET QUOTED_IDENTIFIER ON is required and is off by default in sqlcmd (without it, Msg 1934, which names 'QUOTED_IDENTIFIER' inside a long list of index features and reads like an index problem), and the table needs at least 100 rows with non-null vectors (below that, Msg 42266). Once the index exists, TRUNCATE TABLE on that table is refused (Msg 42232) and DROP VECTOR INDEX is not a statement (use DROP INDEX name ON dbo.table). Full-scan top-k stays exact and stays the right choice for a small table. Full detail: the azuresql-db-rag skill.MSSQL_AAD_CLIENT_ID, MSSQL_AAD_PRIMARY_TENANT, and MSSQL_AAD_CERTIFICATE_FILE_PATH plus a mounted .pfx (empty export password). Optionally set MSSQL_AAD_SERVER_ADMIN_NAME, MSSQL_AAD_SERVER_ADMIN_TYPE (0 = user, 1 = group), and MSSQL_AAD_SERVER_ADMIN_SID to bootstrap an Entra server admin at start. SQL auth (sa) remains the simple local default. Open references/entra-auth.md in the azuresql-db-container skill before configuring any of this. Also see Getting started: Microsoft Entra ID authentication.sqlcmd or a driver, which work today; the azuresql-db-container skill has the command line. The MSSQL extension's GitHub Copilot integration also works (https://aka.ms/vscode-mssql-copilot-docs).:latest is a moving tag and the image is rebuilt almost daily, but docker run reuses the copy already on disk (Docker's default pull policy is missing), so you can silently stay on a stale build. Refresh with docker pull sqldbpreview-dpgaeqhmgphzd4bk.azurecr.io/azure-sql/db-dev:latest, then recreate the container. See the azuresql-db-container skill's image reference.azuresql-db-local-to-cloud skill can provision a target for a one-shot check).CREATE USER ... WITH PASSWORD fail when I make an app user?" It depends on the image build. Image tags through 18.0.226_4_147 refuse a SQL contained user with Msg 33233; builds 18.0.302.0_248 and 18.0.310.0_253 accept it, as Azure SQL Database does. On no build can you turn containment on: ALTER DATABASE ... SET CONTAINMENT = PARTIAL fails with Msg 12824, which asks for an sp_configure setting that this engine does not have. A server login plus a mapped user works on every build: CREATE LOGIN applogin WITH PASSWORD='...' on master, then CREATE USER appuser FOR LOGIN applogin + role grants on appdb. Entra CREATE USER ... FROM EXTERNAL PROVIDER does work, but only on a container started with Entra configured (MSSQL_AAD_*). Without it the statement fails on every build, and the failure never names the missing configuration: image tag 18.0.226_4_147 answers Msg 33134, "Principal '...' could not be resolved. Error message: 'Unable to query Azure AD certificate from local cert store.'", and build 18.0.310.0_253 ends the session (Msg 596, "Cannot continue the execution because the session is in the kill state"). Full recipe: the azuresql-db-auth skill.Open references/faq.md when the quick answers above do not cover the question, and references/limitations.md when the user needs the current gap list with a workaround.
BACKUP DATABASE / RESTORE DATABASE work on the container; they return Msg 40510. (Azure SQL Database in the cloud likewise does not support them.) Use a Docker named volume for local persistence.Use only the tools needed by the selected recipe, at or above these minimum versions:
sqlcmd: go-sqlcmd 1.10.0Verify the installed commands before changing resources:
sqlcmd --version
A missing command, an older version, or a nonzero version check is a prerequisite failure.
Authoritative, version-pinned references for the tools this skill uses (read the one you need):
If the Microsoft Learn MCP server is configured, use mcp__microsoft-learn__microsoft_docs_search or mcp__microsoft-learn__microsoft_docs_fetch to fetch the current version of any of these on demand. It is optional; when it is unavailable, the references above are authoritative.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
azure-sql-database, sql-server, container, local-database, faq
npx claudepluginhub microsoft/microsoft-sql --plugin microsoft-azuresqldb-container17 skills in this plugin
/azuresql-db-authUse when an app connects to the local Azure SQL Database container as sa: create a least-privilege user, choose auth per environment, keep the connection string out of source (user-secrets, Key Vault)./azuresql-db-ciUse when CI (GitHub Actions, Azure Pipelines, GitLab) runs integration tests against the Azure SQL Database container as a service: health check, registry secrets. For Testcontainers, use `azuresql-db-testing`./azuresql-db-connectionsUse when hardening an app's data layer: connections drop or time out under load, add pooling and retry with backoff for transient faults, Max Pool Size. Also covers the local Azure SQL Database container./azuresql-db-containerUse when running Azure SQL Database or any SQL/mssql container locally for dev or CI: start it, connect with sqlcmd, Podman, won't start, Entra setup. Use instead of mcr.microsoft.com/mssql/server./azuresql-db-dabUse when asked for an API over existing tables ('give me an API for this database', REST and GraphQL without code), or to run a local Data API builder endpoint on the Azure SQL Database container./azuresql-db-feedbackUse when an azuresql-db-* skill or the Azure SQL Database container misbehaved, lacks something, or you worked around it: report a bug, file an issue, request a feature. Drafts a GitHub issue.2 plugins in one repository ship this exact skill · first indexed Nov 26, 2026
Other plugins' skills for the same job