Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx agentmods add skills/microsoft/azure-sql-database-container/azuresql-db-faqnpx skills add microsoft/azure-sql-database-container --skill azuresql-db-faqgit clone --depth 1 https://github.com/microsoft/azure-sql-database-containerWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/microsoft/azure-sql-database-container/azuresql-db-faq)<a href="https://agentmods.dev/skills/microsoft/azure-sql-database-container/azuresql-db-faq"><img src="https://agentmods.dev/badge/skills/microsoft/azure-sql-database-container/azuresql-db-faq.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00155 | $0.02309 |
| Opus 5 | $0.00077 | $0.01154 |
| Sonnet 5 | $0.00031 | $0.00462 |
| Haiku 4.5 | $0.00015 | $0.00231 |
Grade A, and why
azuresql-db-faq scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 91 lines — stays where its author put it; the contents beside it link to each section on GitHub.
The Azure SQL Database container: capabilities, limits, and why
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 mental model: engine vs. managed service vs. SQL Server
The container is the Azure SQL Database engine, running locally. It is not the managed cloud service, and it is not the SQL Server. Sort almost any "is X supported" question into one of four buckets and the answer follows:
- Engine features -> present. T-SQL dialect, system views,
VECTORtype andVECTOR_DISTANCE, Always Encrypted (basic).SERVERPROPERTY('EngineEdition')returns5,Editionis'SQL Azure'. - Managed-service features -> NOT present. Automated backups, point-in-time restore, geo-replication, elastic pools, hyperscale, serverless auto-pause, per-database DTU/vCore caps, audit-to-cloud, and Azure portal / CLI / ARM management. These wrap the engine in the cloud; the container is only the engine.
- SQL Server-only features -> intentionally absent (they are not in Azure SQL Database either): SQL Agent jobs, FILESTREAM / FileTable, full cross-instance Service Broker, linked servers, cross-server distributed transactions, Windows Authentication / NTLM.
- In-progress in this preview -> works with a caveat:
CREATE VECTOR INDEXDDL, the VS Code MSSQL extension UI and SSMS, and full PaaS restriction enforcement are still being completed.
Most-asked questions (quick answers)
- "Can I run this container in Azure / in production?" No. It is your local inner loop (development, testing, CI, demos), not a production database. For production, deploy the same code to Azure SQL Database in the Microsoft Azure cloud (the outer loop), usually by changing only the connection string. You do not run this container in Azure.
- "Can I take a backup?" No:
BACKUP DATABASEandRESTORE DATABASEreturn Msg 40510 ("not supported in this version") on the container, 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 theBACKUPstatement). 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. - "Why does
USE otherdbfail 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 withUSE. (USE"works" only on amasterconnection, which is a provisioning session.) - "Why does connecting fail until I create the database?" The engine does not auto-create databases on connect. Provision once on a
masterconnection (CREATE DATABASE appdb), then connect withDatabase=appdb. - "Is a non-x64 host supported? / Is there an ARM64 build?" The image is x64 only; there is no native ARM64 build. On an ARM64 host it runs under emulation: add
--platform linux/amd64(Docker) orplatform: 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. - "Why can't I
CREATE VECTOR INDEX?" That DDL is still in development. TheVECTORtype andVECTOR_DISTANCEwork today; use a full-scan top-k query for now (fine for prototype-sized corpora). - "Is Microsoft Entra ID (Azure AD) authentication supported?" Yes. Configure it with
MSSQL_AAD_CLIENT_ID,MSSQL_AAD_PRIMARY_TENANT, andMSSQL_AAD_CERTIFICATE_FILE_PATHplus a mounted.pfx(empty export password). Optionally setMSSQL_AAD_SERVER_ADMIN_NAME,MSSQL_AAD_SERVER_ADMIN_TYPE(0= user,1= group), andMSSQL_AAD_SERVER_ADMIN_SIDto bootstrap an Entra server admin at start. SQL auth (sa) remains the simple local default. Full recipe: theazuresql-db-containerskill (references/entra-auth.md). Also see Getting started: Microsoft Entra ID authentication. - "Why does SSMS / the MSSQL extension throw errors?" Graphical tooling is not yet 100% compatible; it is being fixed. Use
sqlcmdor a driver, which work today. The MSSQL extension's GitHub Copilot integration also works (https://aka.ms/vscode-mssql-copilot-docs). - "Why isn't the image on Docker Hub / MCR?" This is a container-only Private Preview; the image is in a private registry with shared pull-only credentials provided when you sign up for the Private Preview at https://aka.ms/sqldbcontainerpreview-signup (they may rotate).
- "My engine is missing a recent fix, or behaves like an older build."
:latestis a moving tag and the image is rebuilt almost daily, butdocker runreuses the copy already on disk (Docker's default pull policy ismissing), so you can silently stay on a stale build. Refresh withdocker pull sqldbpreview-dpgaeqhmgphzd4bk.azurecr.io/azure-sql/db-dev:latest, then recreate the container. See theazuresql-db-containerskill's image reference. - "My query works locally but fails in the cloud." Some PaaS restrictions are not yet enforced by the container, so something invalid in the cloud can succeed locally. Validate against a real Azure SQL Database once before declaring readiness (the
azuresql-db-local-to-cloudskill can provision a target for a one-shot check). - "Why does
CREATE USER ... WITH PASSWORDfail when I make an app user?" On the container a SQL contained user fails (Msg 15007), andALTER DATABASE ... SET CONTAINMENT = PARTIALfails too (Msg 12824). Create a server login plus a mapped user instead:CREATE LOGIN applogin WITH PASSWORD='...'onmaster, thenCREATE USER appuser FOR LOGIN applogin+ role grants onappdb. This is inverted from the cloud (where contained users are preferred). EntraCREATE USER ... FROM EXTERNAL PROVIDERdoes work. Full recipe: theazuresql-db-authskill.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 4d ago First seen · 91 lines · 155 tokens per session scan A e9c349b6ac5f
azuresql-db-faq is a skill published in the GitHub repository microsoft/azure-sql-database-container (17 stars, last pushed 3d ago), licensed MIT. It adds 155 tokens to every session and 2,309 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
schema-exploration
Lists tables, describes columns and data types, identifies foreign key relationships, and maps entity relationships in a database. Use when the user asks about database schema, table structure, column types, what tables exist, ERD, foreign keys, or how entities relate.
agent-platform-rag-engine-management
Manage and query Agent Platform RAG Engine Corpora and retrieve grounded contexts using the Google GenAI SDK. Use when listing RAG corpora or files, inspecting a corpus, retrieving contexts, or generating content grounded in a RAG corpus. Do not use for standard database queries (use SQL/Spanner skills), Google…
deploy-docker-compose
Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…
moderator-page-migration
Port a moderator page from the main Next.js app (src/pages/moderator/) into apps/moderator. Use when asked to migrate, move or cut over a /moderator/ page to the spoke, or to port its tRPC procedures and Prisma services to SvelteKit loads/actions and Kysely.
dsql
Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, diagnose cluster performance, load data, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL and PostgreSQL-to-DSQL schema conversion, foreign key…
sql-translate
Translate SQL queries between database dialects (Snowflake, BigQuery, PostgreSQL, MySQL, etc.).