Can i select multiple Business keys in Slowly Changing Dimensions ?

Amir Bessaoud 1 Reputation point
2022-12-28T14:23:08.57+00:00

In the Slowly Changing Dimension Wizard in SSIS , i have the ability to select multiple Business keys but it doesn't seem to work.
In my case i have reccords that need to be identified by multiple columns .

SQL Server Integration Services
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. ZoeHui-MSFT 41,541 Reputation points
    2022-12-29T07:41:02.2+00:00

    Hi @Amir Bessaoud ,

    As said slowly-changing-dimension-transformation.

    The Slowly Changing Dimension transformation requires at least one business key column.

    The Slowly Changing Dimension transformation does not support null business keys. If the data include rows in which the business key column is null, those rows should be removed from the data flow.

    What do you mean of 'it doesn't seem to work'?

    Regards,

    Zoe Hui

    0 comments No comments

  2. Amir Bessaoud 1 Reputation point
    2022-12-29T07:56:21.117+00:00

    Hey @ZoeHui-MSFT , thank you for your response,

    I am using the scd with Historical Attribute and i am selecting multiple Business Keys to identify the records but i noticed that in the target table i have some duplicate active rows.

    My question : Is the scd transformation able to identify and track records in the target based on 2 or plus business keys (muliple columns). Or should i create a new column that concatenate the multiple needed business keys columns and then use it in the scd to track the records.

    Thanks.

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.