<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic What if we want to change the business key in a SCD2 process? in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/882754#M20799</link>
    <description>&lt;P&gt;Dear Community,&lt;/P&gt;
&lt;P&gt;I'm wondering what would be the best approach to change the business key in a SCD2 process. The current key (that was created years ago) includes sensitive information (of course it should not, but it does) which is why it should be modified. I assume the answer is not simple, but if one of you can point some useful resources (including books &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;) I could use to further investigate the issue that would be very helpful.&lt;/P&gt;
&lt;P&gt;Many thanks in advance&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Anne.&lt;/P&gt;</description>
    <pubDate>Wed, 28 Jun 2023 09:07:56 GMT</pubDate>
    <dc:creator>Anne_A</dc:creator>
    <dc:date>2023-06-28T09:07:56Z</dc:date>
    <item>
      <title>What if we want to change the business key in a SCD2 process?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/882754#M20799</link>
      <description>&lt;P&gt;Dear Community,&lt;/P&gt;
&lt;P&gt;I'm wondering what would be the best approach to change the business key in a SCD2 process. The current key (that was created years ago) includes sensitive information (of course it should not, but it does) which is why it should be modified. I assume the answer is not simple, but if one of you can point some useful resources (including books &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;) I could use to further investigate the issue that would be very helpful.&lt;/P&gt;
&lt;P&gt;Many thanks in advance&lt;/P&gt;
&lt;P&gt;Cheers&lt;/P&gt;
&lt;P&gt;Anne.&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 09:07:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/882754#M20799</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-06-28T09:07:56Z</dc:date>
    </item>
    <item>
      <title>Re: What if we want to change the business key in a SCD2 process?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/882891#M20805</link>
      <description>&lt;P&gt;Why would you need to change the business key in an SCD2 process itself? What would be wrong to leave that as is but simply create an encrypted copy of the business key in any output tables as a new column. Then in any published versions of these tables drop the unencrypted business key.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 03:12:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/882891#M20805</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-06-29T03:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: What if we want to change the business key in a SCD2 process?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/882902#M20806</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what is the actual requirement/constraint when it comes to this change?&lt;/P&gt;
&lt;P&gt;Will the business key change in the source, or are you not allowed to store the exisating one in your persistant layers in the DW?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Generally speaking, if you know how to change the business key for the ongoing process, it's a matter of remapping, and change the target table structure.&lt;/P&gt;
&lt;P&gt;Hopefully, the new business key has a 1-1 relationship with original one, and you are able to create mapping table. Then, at the time of deployment, use a script that updates the target table replacing the old business key with the new one.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2023 08:44:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/882902#M20806</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2023-06-29T08:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: What if we want to change the business key in a SCD2 process?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/883114#M20807</link>
      <description>&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thank you VERY much for your insights&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;&amp;amp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;. So the idea is to replace the value everywhere, (kind of) simultaneously. That makes complete sense.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13674"&gt;@LinusH&lt;/a&gt;&amp;nbsp;you're right, the initial value (sensitive info) should not be propagated in the persistent layers of the DWH and yes, there will be a 1-to-1 relationship between the original and the new business keys.&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&lt;FONT face="arial,helvetica,sans-serif"&gt;Thanks again to both of you!&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 14:58:56 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/883114#M20807</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-06-30T14:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: What if we want to change the business key in a SCD2 process?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/883175#M20808</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/418866"&gt;@Anne_A&lt;/a&gt;&amp;nbsp;- So I assume the business key then has no intrinsic value itself as it is constructed from other keys or columns, and the removal is just a security requirement? Sounds far enough to me.&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2023 23:01:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/883175#M20808</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2023-06-30T23:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: What if we want to change the business key in a SCD2 process?</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/883221#M20809</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/13976"&gt;@SASKiwi&lt;/a&gt;&amp;nbsp;you're perfectly right &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;!&lt;/P&gt;</description>
      <pubDate>Sun, 02 Jul 2023 08:13:23 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/What-if-we-want-to-change-the-business-key-in-a-SCD2-process/m-p/883221#M20809</guid>
      <dc:creator>Anne_A</dc:creator>
      <dc:date>2023-07-02T08:13:23Z</dc:date>
    </item>
  </channel>
</rss>

