There are no items in your cart
Add More
Add More
Item Details | Price |
---|
Sat Jun 1, 2024
1.Add flag to see if a report is hidden or visible
SELECT
C.ItemID AS ReportID,
C.Name AS ReportName,
C.Path AS ReportPath,
CASE
WHEN C.Hidden = 1 THEN 'Hidden'
ELSE 'Visible'
END AS ReportVisibilityFlag
FROM Catalog C
WHERE C.Type = 2 -- Filter to select only reports (Type = 2)
2.Averege running time the report took in seconds incompSELECT C.Name AS ReportName, AVG(DATEDIFF(SECOND, EL.TimeStart, EL.TimeEnd)) AS AvgExecutionTimeInSecondsFROM ExecutionLog ELINNER JOIN Catalog C ON EL.ReportID = C.ItemIDWHERE EL.Status = 'rsSuccess' -- Filter for successful executionsGROUP BY C.Name
Vijay Kashyap
A California-based travel writer, lover of food, oceans, and nature.