# Monitor & alerting On/Off state of setting in MS SQL table

**URL:** <https://community.grafana.com/t/monitor-alerting-on-off-state-of-setting-in-ms-sql-table/117008>\
**Category:** Grafana\
**Tags:** alerting\
**Created:** [March 14, 2024, 12:44pm UTC](https://community.grafana.com/t/monitor-alerting-on-off-state-of-setting-in-ms-sql-table/117008 "2024-03-14T12:44:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonmaes808](https://avatars.discourse-cdn.com/v4/letter/s/94ad74/32.png) [@simonmaes808](https://community.grafana.com/u/simonmaes808)\
**Post date:** [March 14, 2024, 12:44pm UTC](https://community.grafana.com/t/monitor-alerting-on-off-state-of-setting-in-ms-sql-table/117008/1 "2024-03-14T12:44:15Z")

</div>

Hi

I’m trying to create an alert if a value in the settings table on an MS SQL server gets changed from 1 to 0 (on to off).

I have the alert configured as shown below:

 ![image](https://us1.discourse-cdn.com/grafana/original/3X/8/e/8e75ad82dcd4f246e11862930af2d6e2ef07627b.png)

It doesn’t show the column labels, but ‘Series 1-6’, I’m not sure if this is okay?

When I save the alert, I get the below error after a while:

> invalid format of evaluation results for the alert definition : frame cannot uniquely be identified by its labels: has duplicate results with labels {}

Any ideas how to fix this?
