Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
So if today is the 12th I need to show all the days between today and July 22
slimt_slimt
Aged Yak Warrior
746 Posts
Posted - 2010-08-14 : 04:24:56
which date is fixed? each 22nd of the month is the fiscal month period?and you want to calculate fiscality from any given date to first next 22nd of this(or next) month?
visakh16
Very Important crosS Applying yaK Herder
52326 Posts
Posted - 2010-08-14 : 04:32:36
you need to have a table defining fiscal start and end period and then use that for your requirement------------------------------------------------------------------------------------------------------SQL Server MVPhttp://visakhm.blogspot.com/