Viewing 3 posts - 1 through 4 (of 4 total)
I really can't thank you enough. Thank you for the superb help and explanation. This was stumping me for quite some time.
September 6, 2015 at 8:56 am
#1824868
One more question...
If I wanted to get a DATEDIFF between the two Dates, how would I accomplish that? Many thanks.
September 6, 2015 at 7:54 am
#1824860
Many thanks!
This worked, but I made a temp table for the first part. TBH, I am fairly new to SQL and do not understand the beginning part:
;
;WITH BASE_DATA AS
(
...
September 6, 2015 at 7:40 am
#1824859