CASE @p_ReportType WHEN 1 THEN NULL WHEN ISNULL(@p_ReportType, 0) THEN row_number() OVER (ORDER BY EventId desc)+1 END AS MeasurementGroupId
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)