This commit is contained in:
2023-04-26 14:28:47 +02:00
parent f1c5c1da2f
commit 8272c0cc56
11 changed files with 56 additions and 8 deletions

View File

@@ -0,0 +1,6 @@
{
"id": "ef7f7e95-0173-4c0a-b540-65616077d483",
"prefix": "check_amr",
"description": "check recorded amr by connectic and max current amr",
"body": "SELECT s.*, a.APS_monitor_row_ID, a.AMR_APS_TS\r\nFROM ActiveSystemServer.amr.MonitorRowsStatus s\r\n LEFT JOIN Arizona.dbo.APS_monitor_row a ON a.APS_monitor_row_ID = s.LastTreatedMonitorRow\r\nWHERE s.DatabaseName='arizona'\r\n\r\nSELECT MAX(a.APS_monitor_row_ID)\r\nFROM Arizona.dbo.APS_monitor_row a \r\n"
}