Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase ««12

Calendar Tables III - Changing Business Rules Expand / Collapse
Author
Message
Posted Thursday, February 17, 2011 12:25 PM
SSC Eights!

SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!SSC Eights!

Group: General Forum Members
Last Login: Monday, January 27, 2014 7:07 PM
Points: 959, Visits: 2,879
James A Skipwith (2/17/2011)
Todd,

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.

James

James,
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.
Todd Fifield
Post #1065926
« Prev Topic | Next Topic »

Add to briefcase ««12

Permissions Expand / Collapse