خرید بک لینک

Vote count: 0

I am in need of updating a huge table, >1 billion records (POS Data) with a key from a table based on a join with a third table. I can break the updates down based on dates since this goes back several years. I basically need to replace the f.retail_sku_key in the table edw.f_pos_daily with the dedup.retail_sku_key when they are not the same. Thanks!

select  F.POS_KEY, f.retail_sku_key , dedup.retail_sku_key dedup_key 
from edw.f_pos_daily f,edw.d_retail_sku sku, edw.d_retail_sku_new dedup
where f.retail_sku_key = sku.retail_sku_key
and sku.retail_sku = dedup.retail_sku
and sku.mtd_item_number = dedup.mtd_item_number
and sku.retailer = dedup.retailer
and f.retail_sku_key <> dedup.retail_sku_key

asked 2 mins ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 2 ارديبهشت 1395 ساعت: 22:31

صفحه بندی