Skip to content

Commit c02b09d

Browse files
authored
Change to Rendered Description 🍰
1 parent 3877840 commit c02b09d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

SQL Queries/Data Warehouse/DW_Events_ByTotalEvents.sql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
-- Selects the top 100 records from the result set
1717
SELECT TOP 100
1818
evt.EventDisplayNumber, -- Display number of the event
19-
evtd.RawDescription, -- Raw description of the event
19+
evtd.RenderedDescription, -- Raw description of the event
2020
evtlc.ComputerName, -- Name of the computer logging the event
2121
COUNT(*) AS TotalEvents, -- Total number of events aggregated by display number, description, and computer name
2222
DATEDIFF(DAY, MIN(evt.DateTime), MAX(evt.DateTime)) + 1 AS DaysOfData -- Calculates the span of days between the earliest and latest event dates for each group
@@ -30,7 +30,7 @@ INNER JOIN
3030
ON evt.LoggingComputerRowId = evtlc.EventLoggingComputerRowId
3131
GROUP BY
3232
evt.EventDisplayNumber, -- Groups the results by event display number,
33-
evtd.RawDescription, -- raw event description,
33+
evtd.RenderedDescription, -- raw event description,
3434
evtlc.ComputerName -- and computer name
3535
ORDER BY
3636
TotalEvents DESC -- Orders the results by the total number of events, in descending order

0 commit comments

Comments
 (0)