
Azuresql Db Rag
by microsoftc1e8167e4c1dNo licenseListed Oct 8, 2026Updated Oct 8, 2026
Builds local vector search, RAG, embeddings, and semantic search on the Azure SQL Database container using the native VECTOR type and VECTOR_DISTANCE. Use when you need to store embeddings, do similarity search, top-k nearest neighbor, cosine distance, retrieval-augmented generation, "find similar documents", chatbot memory, or semantic lookup against a local SQL database. Use this instead of pgvector, FAISS, Chroma, Pinecone, or a separate vector store when the data already lives in (or can live in) Azure SQL. Covers the VECTOR(n) column type, inserting embeddings with CAST(CAST(? AS NVARCHAR(MAX)) AS VECTOR(n)) where the dimension is a literal, a pluggable embed() so only the endpoint changes for cloud, and a working CREATE VECTOR INDEX with the two errors that block it. Provisions appdb on master first so every script runs on a fresh container.
- c1e8167e4c1dCurrentcommit c1e8167Published Oct 8, 2026
Source and attribution
Source:microsoft/azure-sql-database-containerinskills/azuresql-db-ragat commitc1e8167
License: No license
Content belongs to its original authors. SourceWeft indexes it from a public repository.
More from microsoft/azure-sql-database-container

Azuresql Db Sidecar
microsoft
Adds the Azure SQL Database container as a sidecar service in Docker Compose or a Dev Container.

Azuresql Db Import
microsoft
Imports a .bacpac or .dacpac into a local Azure SQL Database container using SqlPackage.

Azuresql Db From Sql Server
microsoft
Migrates a local SQL Server Docker setup to the Azure SQL Database container for Azure-faithful local development.

Azuresql Db Feedback
microsoft
Turns a skill or container problem into a complete, redacted GitHub issue draft for user confirmation.

Azuresql Db Faq
microsoft
Answers questions about what the Azure SQL Database container (Private Preview) supports and why it differs from the cloud service.

Azuresql Db Ci
microsoft
Runs integration tests against the Azure SQL Database container (Private Preview, local engine) in CI. Use when setting up GitHub Actions, Azure Pipelines, or GitLab CI to test against Azure SQL DB; when adding a database service container to a CI workflow; when tests need a real Azure SQL engine in the pipeline; or when you see "service container", "health-cmd", "ACR_USERNAME/ACR_PASSWORD", "MSSQL_SA_PASSWORD secret", or "integration test database". Also use when a workflow was about to pull the SQL Server image mcr.microsoft.com/mssql/server, in which case stop and use the Azure SQL Database engine image instead. Covers pulling from the private ACR with credentials, the service health check that runs sqlcmd inside the container so the runner needs no client tools, provisioning appdb before tests, and pointing the test connection string at the user database not master.