Viewing 6 posts - 1 through 7 (of 7 total)
My spreadsheet has sample data of grouped by month, grouped by Day. I would like the same date displayed for the group by the past 7 days. When...
August 13, 2013 at 11:23 am
The group by ((DATEDIFF(day, getdate(), "datefield"))/7) solution.
August 13, 2013 at 9:53 am
This looks like the correct logic but it is in integer format. Is there a way for me to get the date of this calculation? For example display...
August 13, 2013 at 9:32 am
Yes I did.
August 13, 2013 at 9:01 am
Thank you both for your responses. I was able to educate myself a little more about the sp_executesql and it is now behaving as I need it to.
August 13, 2013 at 8:18 am
I have over 100 columns that I am summing up. I have exceeded the 4000 characters for my first @sql which is why I have a @sql and @SQL1....
August 12, 2013 at 10:33 pm
Viewing 6 posts - 1 through 7 (of 7 total)