James A Skipwith (2/17/2011)
Nice article. I also have large calendar tables to deal with - as one of my clients uses a rolling four week cycle starting the first saturday before February the 2nd, so as well as fiscal weeks to deal with I also have week 1-4 four each four week block! I too do not worry about optimising the SQL to populate this, as performance is not a considuration here, accuracy is.
Plus how come you get away with one page of forum questions where I have 4+ each time!
Look forward to more articles.
Don't know how I only got one page.
That rolling 4 week block is an interesting business requirement. I can see how a calendar table would make life easier. I've found that with proper indexing of both the calendar table and the data tables performance can be better in most cases
I'm planning on doing the next calendar table article on the dreaded 4-4-5 accounting periods where a fiscal quarter is composed of 13 weeks and it bears no relationship to calendar months.