I need to create a table with rows for everyday of the year for the next 3 years. Example columns is shown below:
T_Date : 03/01/2008
DayofYear: 61
WeekOfYear: 09
Quarter: 02
DayofWeek: Sat
This is for a time dimension for a DataWarehouse. Can anybody point me to a sample function, stored_procedure, sql or anything that shows how I might accomplish this?
Thank you in advance.
T_Date : 03/01/2008
DayofYear: 61
WeekOfYear: 09
Quarter: 02
DayofWeek: Sat
This is for a time dimension for a DataWarehouse. Can anybody point me to a sample function, stored_procedure, sql or anything that shows how I might accomplish this?
Thank you in advance.