我正在检查系统,并得到了下一个参数表:
Dimension Group Table Column ReferenceColumn ReferenceTable
--------------------------------------------------------------------------------------
PRODUCT E_COMPANY Key NULL NULL
PRODUCT E_COMPANY Company_Name NULL NULL
PRODUCT E_COMPANY Company_Desc NULL NULL
PRODUCT E_BRAND Key NULL NULL
PRODUCT E_BRAND Brand_Name NULL NULL
PRODUCT E_BRAND Brand_Desc NULL NULL
PRODUCT E_CLASS Key NULL NULL
PRODUCT E_CLASS Class_Name NULL NULL
PRODUCT E_CLASS Class_Desc NULL NULL
PRODUCT E_CLASS Brand_Key Key E_BRAND
PRODUCT E_CLASS Company_Key Key E_COMPANY
PRODUCT E_SKU Key NULL NULL
PRODUCT E_SKU Sku_Name NULL NULL
PRODUCT E_SKU Sku_Desc NULL NULL
PRODUCT E_SKU Class_Key Key E_CLASS
这表明我的PRODUCT尺寸是如何完成的。现在,我在表中具有下一列的数据(由我的客户从他的ERP提供):
PRODUCT_MASTER_TABLE
Sku Sku_Name Sku_Desc Class Class_Name Class_Desc Brand Brand_Name Brand_Desc Company Company_Name Company_Desc
------------------------------------------------------------------------------------------------------------------------------------------------
然后,在我的数据仓库数据库中,有以下用于PRODUCT维度的表:
[dbo].E_SKU,
[dbo].E_CLASS,
[dbo].E_BRAND,
[dbo].E_COMPANY
所以我需要按顺序填写上面的表,所以首先是E_COMPANY,然后是E_BRAND,等等。
您知道如何执行此操作吗?