Table: fiscal_week

Columns
  Column Name Data Type Default
Value
References
Table
Foreign Key
Name
1. PK fiscal_week_key decimal(15)      
2.   fiscal_year_key decimal(15)   fiscal_year fk_fiscal_week1
3.   fiscal_quarter_key decimal(15)   fiscal_quarter fk_fiscal_week2
4.   fiscal_month_key decimal(15)   fiscal_month fk_fiscal_week3
5.   begin_date datetime      
6.   end_date datetime      
Foreign Keys
Column References Foreign Key Name
Table Column
fiscal_month_key fiscal_month fiscal_month_key fk_fiscal_week3
fiscal_quarter_key fiscal_quarter fiscal_quarter_key fk_fiscal_week2
fiscal_year_key fiscal_year fiscal_year_key fk_fiscal_week1
Check Constraints
Name Definition
cc_fiscal_week_begin_date ([begin_date]>='1900-01-01' AND [begin_date]<='2099-12-31')
cc_fiscal_week_end_date ([end_date]>='1900-01-01' AND [end_date]<='2099-12-31')
Indices
Index Name Unique Column Name Asc Or Desc
pk_fiscal_week true fiscal_week_key Asc
idx_fiscal_week1 true fiscal_week_key Asc
    fiscal_month_key  
    fiscal_quarter_key  
    fiscal_year_key  
idx_fiscal_week2 false fiscal_year_key Asc
idx_fiscal_week3 false fiscal_quarter_key Asc
idx_fiscal_week4 false fiscal_month_key Asc