We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e03e21 commit c3336b4Copy full SHA for c3336b4
SQL Queries/OperationsManager/Alerts_ByDay.sql
@@ -1,5 +1,5 @@
1
-SELECT CONVERT(VARCHAR(20), TimeAdded, 102) AS DayAdded, COUNT(*) AS NumAlertsPerDay
2
-FROM Alert WITH (NOLOCK)
+SELECT CONVERT(VARCHAR(20), TimeAdded, 102) AS DayAdded, COUNT(*) AS NumAlertsPerDay
+FROM AlertView
3
WHERE TimeRaised is not NULL
4
GROUP BY CONVERT(VARCHAR(20), TimeAdded, 102)
5
-ORDER BY DayAdded DESC
+ORDER BY DayAdded DESC
0 commit comments