Viewing 15 posts - 1 through 15 (of 19 total)
Perhaps this code will get you started. It will extract the current month and calculate the last day of the previous month. In a CASE statement it will determine...
May 1, 2019 at 2:08 pm
It appears the CROSSAPPLY is giving me the wrong ReportDate to the SUB_QUERY_CREATED_ON dates. I am not sure what is going on as I checked the RetVal and its providing...
March 29, 2019 at 3:54 pm
Jeff Moden? Are you the same person with the awesome splitter function?? I used your version and made a few minor tweaks to have it do what I needed it...
March 28, 2019 at 8:15 am
March 27, 2019 at 10:53 pm
March 27, 2019 at 8:23 pm
SELECT soh.CustomerID
, soh.OrderDate
, LAG(soh.OrderDate,1) OVER (PARTITION...
March 27, 2019 at 6:24 pm
March 27, 2019 at 4:50 pm
March 27, 2019 at 4:19 pm
March 27, 2019 at 4:11 pm
March 22, 2019 at 1:00 pm
March 22, 2019 at 12:13 pm
March 22, 2019 at 11:03 am
March 22, 2019 at 10:48 am
Viewing 15 posts - 1 through 15 (of 19 total)