$npx skillfedfor your agent

dbt-sqlserver

A Microsoft SQL Server adapter plugin for dbt

Worth itPyPI DatabaseReleased Aug 2026194.0K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — dbt_sqlserver-1.11.1-py3-none-any.whl
v1.11.1 · released 2026-08-11 · Python >=3.10 · 4 runtime deps: dbt-core, dbt-common, dbt-adapters, pyodbc

Yes. The adapter is production-stable (Development Status 5), actively maintained with a recent release, has no known vulnerabilities, and low install friction. Choose it if you are committed to SQL Server or Azure SQL and want to use dbt's transformation framework. Verify beforehand that your target SQL Server version (2017 or newer) and Python version (3.10+) are supported, and plan for backend dependencies: either the Microsoft ODBC driver or optional mssql-python system libraries.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Microsoft ODBC Driver for SQL Server (pyodbc backend) or system libraries libltdl7, libkrb5-3, libgssapi-krb5-2 (mssql-python backend).
  • Python 3.10 or newer.
  • Low friction install with pure Python wheel distribution.

License · maintenance · safety

MIT (permissive) — MIT license is permissive; you may use, modify, and distribute this adapter freely in commercial and private projects with minimal restrictions.

last release 2026-08-11 (3 days) · last repo commit 2026-08-13 · 254 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 193,995 downloads/mo, #9,846 on PyPI

Verify before relying

pip install -U dbt-sqlserver

# In profiles.yml:
your_profile:
  target: dev
  outputs:
    dev:
      type: sqlserver
      host: your-server
      port: 1433
      database: your-database
      schema: dbo
      user: your-user
      password: your-password
  • Whether Azure SQL Database and Azure SQL Managed Instance work reliably in production (documented as expected to be compatible but not covered by integration tests).
  • Performance characteristics and scalability limits for large-scale incremental model refreshes with safe type expansion enabled.
Same gist for agents: .md · .json

What it is and what it does

dbt-sqlserver is a plugin that connects the dbt data transformation framework to Microsoft SQL Server and Azure SQL services. It allows you to write dbt models, tests, and macros that run against SQL Server as your data warehouse, following dbt's standard project structure and workflow. The adapter handles SQL Server-specific syntax, schema management, and connection pooling through either pyodbc (the default ODBC-based backend) or an optional mssql-python backend that avoids ODBC driver dependencies.

The adapter supports SQL Server 2017 through 2025 and is tested against Python 3.11, 3.12, and 3.13. It includes features like safe type expansion for incremental models, configurable schema concatenation behavior, transaction control options, and XACT_ABORT handling to prevent partial batch commits on errors. Installation is straightforward via pip, though you must separately install the appropriate SQL Server driver or system libraries depending on which backend you choose.

Use it for

  • Build and test data transformation pipelines on SQL Server without writing raw T-SQL, using dbt's model and test abstractions.
  • Migrate dbt projects from other data warehouses to SQL Server or Azure SQL by swapping the adapter and adjusting SQL Server-specific configurations.
  • Automate incremental table refreshes with safe column type expansion, avoiding manual schema migrations during model evolution.
  • Integrate SQL Server as a dbt-compatible warehouse in multi-warehouse analytics stacks or data mesh architectures.
  • Run dbt tests and data quality checks against SQL Server tables as part of a CI/CD pipeline.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The adapter is production-stable (Development Status 5), actively maintained with a recent release, has no known vulnerabilities, and low install friction. Choose it if you are committed to SQL Server or Azure SQL and want to use dbt's transformation framework. Verify beforehand that your target SQL Server version (2017 or newer) and Python version (3.10+) are supported, and plan for backend dependencies: either the Microsoft ODBC driver or optional mssql-python system libraries.

Install

dbt-sqlserver on PyPI

Before you install

Low friction install with pure Python wheel distribution. Active maintenance with a release 3 days old. Requires either pyodbc with Microsoft ODBC driver or optional mssql-python backend; system library dependencies vary by backend choice and OS.

Requires Microsoft ODBC Driver for SQL Server (pyodbc backend) or system libraries libltdl7, libkrb5-3, libgssapi-krb5-2 (mssql-python backend). Python 3.10 or newer.

License in practice

MIT license is permissive; you may use, modify, and distribute this adapter freely in commercial and private projects with minimal restrictions.

Quickstart

pip install -U dbt-sqlserver

# In profiles.yml:
your_profile:
  target: dev
  outputs:
    dev:
      type: sqlserver
      host: your-server
      port: 1433
      database: your-database
      schema: dbo
      user: your-user
      password: your-password

Verify before relying

  • Whether Azure SQL Database and Azure SQL Managed Instance work reliably in production (documented as expected to be compatible but not covered by integration tests).
  • Performance characteristics and scalability limits for large-scale incremental model refreshes with safe type expansion enabled.

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependencies
4 packages
dbt-coredbt-commondbt-adapterspyodbc
MaintenanceActively maintained 3 days since the last release
Last repo commit
First released
Downloads193,995 / month, #9,846 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: MIT LicenseOperating System :: MacOS :: MacOS XOperating System :: Microsoft :: WindowsOperating System :: POSIX :: LinuxProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13

Evidence: dbt_sqlserver-1.11.1-py3-none-any.whl

Tags

Capabilities
dbt sql server adapterdbt microsoft sql serverdbt azure sqlsql server dbt plugindbt mssql integrationdata transformation sql serverdbt sqlserver backend
Topics
dbt-adaptersql-serverdata-transformation

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “dbt sql server adapter”

  • dbt-sqlserverA dbt adapter that enables data transformation and testing workflows…
  • dbt-sparkdbt-spark is the Apache Spark adapter for dbt, enabling data…
  • dbt-trinoA dbt adapter that connects dbt projects to Trino, enabling SQL-based…

Give your agent the search over MCP, or paste the wish link into any chat.

More Database packages

psycopg2-binary Worth it
PyPI · Software Development · released Apr 2026

psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.

copyleftcompiled wheel · 3.9+
271.6Mdownloads / mo
redis Worth it
PyPI · Database · released Jul 2026

Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.

Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.

MITpure Python · 3.10+
268.3Mdownloads / mo
ydb Worth it
PyPI · Database · released Jul 2026

YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.

Install it if you need to connect Python applications to YDB databases.

permissive licensepure Python · 3.10+
210.0Mdownloads / mo
snowflake-connector-python Worth it
PyPI · Software Development · released Aug 2026

Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.

Apache-2.0compiled wheel · 3.10+
193.6Mdownloads / mo
sqlparse Worth it
PyPI · Software Development · released Aug 2026

sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.

Install it if you need to manipulate, format, or analyze SQL text programmatically.

BSD-3-Clausepure Python · 3.10+
148.9Mdownloads / mo
dbt-adapters With conditions
PyPI · Database · released Jul 2026

Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.

Apache-2.0pure Python · 3.10.0+
121.3Mdownloads / mo

See also dbt-fabric · dbt-vertica · dbt-core · dbt-clickhouse · mssql-python-odbc · dbt-core-interface · dbt-metricflow · dbt-osmosis · dbt-autofix