Viewing 8 posts - 1 through 8 (of 8 total)
This is how my table looks except I used random numbers for my values. Some of the dx columns have values and some do not. How about actually showing me...
March 19, 2024 at 10:43 pm
I am sorry. I am going to move this post to SQL Server 2012. I should not have put it in here.
December 3, 2019 at 3:46 pm
Thanks. This ended up working for me. I was close. Just had to change the mm to MM because I am on SQL Server 2016.
Between Format(DateAdd(MONTH,-6, GETDATE()), 'yyyyMM') And Format(DateAdd(MONTH,-1,GETDATE()),...
June 20, 2019 at 8:40 pm
I changed the Column Headings value in the property sheet of the query to this and it worked.
"201804", "201805", "201806", "201807", "201808"
October 12, 2018 at 1:28 pm
Thank you. I ended up doing this:
AND (([dbo_RX Reporting].Period)=Format(DateAdd("m", -1, Date()), "yyyymm"))
September 6, 2018 at 11:51 am
If this is in a SQL script or command, add
[code...
September 6, 2018 at 10:36 am
September 6, 2018 at 10:34 am
Viewing 8 posts - 1 through 8 (of 8 total)