sync
This commit is contained in:
6
check_amr-ef7f7e95-0173-4c0a-b540-65616077d483.json
Normal file
6
check_amr-ef7f7e95-0173-4c0a-b540-65616077d483.json
Normal 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"
|
||||
}
|
||||
Reference in New Issue
Block a user