FCT_M_INDEX
我必须通过加入 STG_M_INDEX
和将数据填充到中LKP_M_INDEX
。表结构与follows.LKP_M_INDEX
STG_M_INDEX 中每个列名的索引相同。我需要填写 FACT。请指教。
STG_M_INDEX
**Day_Key Dow_jones_Price Dow_jones_Vol Nasdaq_Closing_Price**
20130920 5312.37 5074030000 3796.28
LKP_M_INDEX
**Index_no Index_Name Index_Data_value STG_LKP_NAME**
1 Dow Jones Price Dow_jones_Price
2 Dow Jones Vol Dow_jones_Vol
3 Nasdaq Price Nasdaq_Closing_Price
4 Nasdaq Vol Nasdaq_Vol
FCT_M_INDEX
**Day_Key Index_Name INDEX_SCENARIO VALUE**
20130920 1 Dow_jones_Price 5312.37
20130920 2 Dow_jones_Vol 5074030000
20130920 3 Nasdaq_Closing_Price 3796.28
20130920 4 Nasdaq_Vol 2711270000
谢谢,纳伦德拉