以下是生成2017年日历表: insert into dw_mdl.m_hadp_dim_date select to_char(everyDay,'yyyy-mm-dd') as dt, to_char(everyday,'yyyy') as yr, to_char(everyday,'mm') as mm, to_char(everyday,'dd') as dd, to_char(everyday,'dy') as dayofweek, /*ORACLE自定义的标准周*/ to_char(…