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

4-4-5 Calendar Creation Table in SQL Server Expand / Collapse
Author
Message
Posted Thursday, August 15, 2013 2:34 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, July 28, 2014 12:06 PM
Points: 163, Visits: 573
HI ,
Could some one please provide me with 4-4-5 Calender table creation Script where i would need the following columns .. Thanks in Advance



Columns :

Year
Quarter
Period
Month
FiscalWeek
Week
WeekDay
Date
days




Post #1484912
Posted Thursday, August 15, 2013 2:46 PM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Today @ 3:41 PM
Points: 1,887, Visits: 18,572
RamSteve (8/15/2013)
HI ,
Could some one please provide me with 4-4-5 Calender table creation Script where i would need the following columns .. Thanks in Advance



Columns :

Year
Quarter
Period
Month
FiscalWeek
Week
WeekDay
Date
days




for how many years does you expected calendar cover?
Fiscal Week / Week....please explain the difference
how many weeks do you have in a "Year" and what criteria determines the first week of the year?

yadda yadda....

me thnks we need more info please.


__________________________________________________________________
you can lead a user to data....but you cannot make them think !
__________________________________________________________________
Post #1484915
Posted Thursday, August 15, 2013 2:53 PM
SSC-Enthusiastic

SSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-EnthusiasticSSC-Enthusiastic

Group: General Forum Members
Last Login: Monday, July 28, 2014 12:06 PM
Points: 163, Visits: 573
I would need any Simple Query for generating 4-4-5 calendar that most of the companies use in USA .. My Company was not using it before and i was trying to implement it by using the date range from year 1990 to 2050

Thanks in Advance
Post #1484918
Posted Thursday, August 15, 2013 3:06 PM


SSCommitted

SSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommittedSSCommitted

Group: General Forum Members
Last Login: Today @ 3:41 PM
Points: 1,887, Visits: 18,572
RamSteve (8/15/2013)
I would need any Simple Query for generating 4-4-5 calendar that most of the companies use in USA .. My Company was not using it before and i was trying to implement it by using the date range from year 1990 to 2050

Thanks in Advance


I am not from the USA and not familiar with the 4-4-5 calendar "that most of the companies use in USA".

in my experience the "company calendar" nearly always requires specific coding to meet internal reqs.

Hopefully someone else will be along shortly to help you.


__________________________________________________________________
you can lead a user to data....but you cannot make them think !
__________________________________________________________________
Post #1484925
Posted Thursday, August 15, 2013 3:29 PM


SSCertifiable

SSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiableSSCertifiable

Group: General Forum Members
Last Login: Today @ 6:58 PM
Points: 5,575, Visits: 24,827
I believe you will find what you are searching for in these two older articles here on SSC.

http://www.sqlservercentral.com/articles/function/67046/

http://www.sqlservercentral.com/articles/function/68323/


If everything seems to be going well, you have obviously overlooked something.

Ron

Please help us, help you -before posting a question please read

Before posting a performance problem please read
Post #1484930
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse