Skip to main content

A Microsoft SQL Server adapter plugin for dbt

Project description


dbt adapter for Microsoft SQL Server and Azure SQL services.

The adapter supports dbt-core 0.14 or newer and follows the same versioning scheme. E.g. version 1.1.x of the adapter will be compatible with dbt-core 1.1.x.


We've bundled all documentation on the dbt docs site:

Join us on the dbt Slack to ask questions, get help, or to discuss the project.


This adapter requires the Microsoft ODBC driver to be installed: Windows | macOS | Linux


Make sure to install the ODBC headers as well as the driver linked above:

sudo apt-get install -y unixodbc-dev

Latest version: PyPI

pip install -U dbt-sqlserver

Latest pre-release: GitHub tag (latest SemVer pre-release)

pip install -U --pre dbt-sqlserver


See the changelog


Unit tests Integration tests on SQL Server Integration tests on Azure

This adapter is community-maintained. You are welcome to contribute by creating issues, opening or reviewing pull requests or helping other users in Slack channel. If you're unsure how to get started, check out our contributing guide.


PyPI - License

Code of Conduct

This project and everyone involved is expected to follow the dbt Code of Conduct.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dbt-sqlserver-1.4.3.tar.gz (23.3 kB view hashes)

Uploaded source

Built Distribution

dbt_sqlserver-1.4.3-py3-none-any.whl (31.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page