ms
ms
BUT.. there are not many updates recently.  
I think the problem is more serious than the message says. I changed the "order by", but still had other problems. It needs more analyze to fix. I wrote to...
Unfortunately, my panels still have errors.   I have no time to check and to fix it, I use Grafana old version, and it is okay.
This is my suggestion ```sql GO if ((SELECT COUNT(*) FROM [dbo].[sqlwatch_config_snapshot_type] where [snapshot_type_id] in (32, 33, 34)) = 0 ) begin insert into [dbo].[sqlwatch_config_snapshot_type] ([snapshot_type_id], [snapshot_type_desc], [snapshot_retention_days], [collect]) select 32...
There is a variable declaration, but it is not used. Possibly it was a feature that was not finished. 