简体   繁体   English

是在DW还是阶段中创建Surrogat密钥?

[英]Surrogat Key be Created in DW or Stage?

Should the surrogate key, for instance customerKey for dimension customer, be created in the stage process and then the all data should be loaded into the dimCustomer or should the customerkey be created automatically in the dimCustomer when you are loading the data to the dimCustomer table? 应该在阶段流程中创建替代键(例如维客户的customerKey),然后将所有数据加载到dimCustomer中,还是应该在将数据加载到dimCustomer表中时在dimCustomer中自动创建customerkey?

What is your reflection and experience? 您的反思和经验是什么?

在加载过程中,通常会自动递增。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM