Documentation for automated readers
A curated documentation index is available at: https://grafana.com/llms.txt
A complete documentation index is available at: https://grafana.com/llms-full.txt
These indexes can help with page discovery before fetching individual documents.
This page is also available in Markdown, which may be easier for automated readers and AI tools to parse than HTML. The Markdown version is available at https://grafana.com/docs/grafana/v12.1/datasources/mssql.md, or by sending Accept: text/markdown to https://grafana.com/docs/grafana/v12.1/datasources/mssql/. For broader documentation discovery, the curated index is available at https://grafana.com/llms.txt and the complete index is available at https://grafana.com/llms-full.txt.
Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Microsoft SQL Server (MSSQL) data source
Grafana ships with built-in support for Microsoft SQL Server (MSSQL). You can query and visualize data from any Microsoft SQL Server 2005 or newer, including the Microsoft Azure SQL Database.
Use this data source to create dashboards, explore SQL data, and monitor MSSQL-based workloads in real time.
The following documentation helps you get started working with the Microsoft SQL Server (MSSQL) data source:
- Configure the Microsoft SQL Server data source
- Microsoft SQL Server query editor
- Microsoft SQL Server template variables
Get the most out of the data source
After installing and configuring the Microsoft SQL Server data source, you can:
- Create a wide variety of visualizations
- Configure and use templates and variables
- Add transformations
- Add annotations
- Set up alerting
- Optimize performance with query caching
Was this page helpful?
Related resources from Grafana Labs


