Dieter,
The above solution works great when the range of data (in the between statment) is less than 73,414, since there are only 73,414 rows in the CALENDAR table. In my case some of the ranges I need to handel have millions of rows. How can I handle this?
Thanks,
Ted
↧