|
phrankbooth
Posting Yak Master
USA
141 Posts |
Posted - 05/16/2012 : 18:46:14
|
Hi,
I've been looking for an SP that generates a list of sub date ranges within a date based on the step parameter passed in. So, if my Date Range is 1/1/2012 to 1/25/2012 and the step param passed in is 10, then it should return a rowset like so:
StartDt, EndDt 1/1/2012, 1/10/2012 1/11/2012, 1/20/2012 1/21/2012, 1/25/2012
If anyone can point me to something that does this or offer some advice, I'd appreciate it.
Thanks.
--PhB |
|