How to do it...

  1. Open the DimProduct_Incomplete if not done and go into the data flow task (dft_DimProduct_ups).
  2. Add a lookup transform after the der_NULLColumns and rename it lkp_DimProduct_productid.
  3. Double-click on it to open the Lookup Transformation Editor.
  4. On the General tab, change how to handle rows with no matching entry to redirect rows to no matching output.
  5. On the Connection tab, select Use result of SQL query and paste the following query in the textbox:
SELECT  [IDProduct] 
      , [ProductName] 
      , [EnglishDescription] 
      , [FrenchDescription] 
      , [Color] 
      , [Size] 
      , [Weight] 
      , [StandardCost] 
      , [ListPrice] 
      , [ModelName] 
      , [Category] 
      , [SubCategory] 
      , [LoadExecutionId] 
FROM    [DW].[DimProduct]; 
  1. On the Columns tab, select all the columns except ...

Get SQL Server 2017 Integration Services Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.