Viewing 2 posts - 1 through 3 (of 3 total)
Nice!!
That is crazy faster and simple. I think I was trying to make it harder than it should be.
Thank you so very much!!
January 30, 2018 at 12:17 pm
#1977933
Sorry, first time posting.
This is the actual data that is returned by the second CTE.
DECLARE @TempTable TABLE (call_id INT, start_time SMALLDATETIME, end_time SMALLDATETIME)
January 30, 2018 at 11:05 am
#1977914