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

Creating a 4-4-5 Time Period table

$
0
0

 

Hello:

Very soon my company will be moving to a 4-4-5 reporting schedule.  Basically, what this means is that the first month of the quarter will have 4 weeks, the second will have 4 weeks, and the third will have 5 weeks.  Therefore, for the 2007 the dates for Jan, Feb and Mar will be as follows:

Jan - 1 - 27

Feb - 28 - 24

Mar - 25 - 31

 

Currently, I have an SSIS package creating a record for each day in the Time Dimension. 

 

Is there any T-SQL script out there that will help me build a Fiscal calendar such as the one described above?

 

Thank you!


Viewing all articles
Browse latest Browse all 23857

Trending Articles



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