https://github.com/dbt-msft/dbt-sqlserver
  
  
    dbt adapter for SQL Server and Azure SQL 
    https://github.com/dbt-msft/dbt-sqlserver
  
analytics-engineering azure-sql azure-sql-db data-engineering dbt dbt-sqlserver microsoft microsoft-sql-server mssql sql sql-server t-sql transact-sql tsql
        Last synced: 6 months ago 
        JSON representation
    
dbt adapter for SQL Server and Azure SQL
- Host: GitHub
 - URL: https://github.com/dbt-msft/dbt-sqlserver
 - Owner: dbt-msft
 - License: mit
 - Created: 2019-06-25T20:14:56.000Z (over 6 years ago)
 - Default Branch: master
 - Last Pushed: 2025-05-05T19:27:32.000Z (6 months ago)
 - Last Synced: 2025-05-11T23:46:27.178Z (6 months ago)
 - Topics: analytics-engineering, azure-sql, azure-sql-db, data-engineering, dbt, dbt-sqlserver, microsoft, microsoft-sql-server, mssql, sql, sql-server, t-sql, transact-sql, tsql
 - Language: Python
 - Homepage:
 - Size: 1.1 MB
 - Stars: 228
 - Watchers: 15
 - Forks: 105
 - Open Issues: 79
 - 
            Metadata Files:
            
- Readme: README.md
 - Changelog: CHANGELOG.md
 - Contributing: CONTRIBUTING.md
 - License: LICENSE
 
 
Awesome Lists containing this project
- jimsghstars - dbt-msft/dbt-sqlserver - dbt adapter for SQL Server and Azure SQL (Python)
 
README
          # dbt-sqlserver
[dbt](https://www.getdbt.com) 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.
## Documentation
We've bundled all documentation on the dbt docs site:
* [Profile setup & authentication](https://docs.getdbt.com/reference/warehouse-profiles/mssql-profile)
* [Adapter documentation, usage and important notes](https://docs.getdbt.com/reference/resource-configs/mssql-configs)
Join us on the [dbt Slack](https://getdbt.slack.com/archives/CMRMDDQ9W) to ask questions, get help, or to discuss the project.
## Installation
This adapter requires the Microsoft ODBC driver to be installed:
[Windows](https://docs.microsoft.com/en-us/sql/connect/odbc/download-odbc-driver-for-sql-server?view=sql-server-ver16#download-for-windows) |
[macOS](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/install-microsoft-odbc-driver-sql-server-macos?view=sql-server-ver16) |
[Linux](https://docs.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-ver16)
Debian/Ubuntu
Make sure to install the ODBC headers as well as the driver linked above:
```shell
sudo apt-get install -y unixodbc-dev
```
Latest version: 
```shell
pip install -U dbt-sqlserver
```
Latest pre-release: 
```shell
pip install -U --pre dbt-sqlserver
```
## Changelog
See [the changelog](CHANGELOG.md)
## Contributing
[](https://github.com/dbt-msft/dbt-sqlserver/actions/workflows/unit-tests.yml)
[](https://github.com/dbt-msft/dbt-sqlserver/actions/workflows/integration-tests-sqlserver.yml)
[](https://github.com/dbt-msft/dbt-sqlserver/actions/workflows/integration-tests-azure.yml)
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](CONTRIBUTING.md).
## License
[](https://github.com/dbt-msft/dbt-sqlserver/blob/master/LICENSE)
## Code of Conduct
This project and everyone involved is expected to follow the [dbt Code of Conduct](https://community.getdbt.com/code-of-conduct).