langchain-and-llamaindex-on-azure-sql

Installation
SKILL.md

LangChain and LlamaIndex on Azure SQL Database

Both frameworks connect to this engine on the first try and then get three things wrong that the connection test cannot show. This is not a text to SQL tutorial and not a vector search reference.

What follows holds for the package versions pinned in the install line below. Those versions move fast, so re-run the reference file's checks before trusting one.

Reproduce it first, in two minutes

python -m venv .venv && .venv/bin/pip install \
  "langchain==1.3.18" "langchain-community==0.4.2" "langchain-classic==1.0.8" \
  "langchain-sqlserver==1.0.1" "llama-index-core==0.14.24" "sqlalchemy==2.0.52" "pyodbc==5.3.0"
Installs
50
GitHub Stars
66
First Seen
Sep 28, 2026