Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

Getting data from a week and also that same week in previous months.

$
0
0

I have an issue with some data im trying to get
here is my scenario

we'll use the week of august 18-24th for my example

the user will want the data from this week, but also will want data from the similar week in previous months. 

right now im getting the current week of the month so this week in my example is 34, but 4 weeks(1 month) isn't that week im looking for in june.

any ideas?


Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>