How to write MS SQL queries?

I think you are having 2 different issues…successfully establishing a connection to your MSSQL database, and writing a Grafana-friendly SQL query in Grafana.

Are you sure you got the “Success” message in the Datasources?
image