<?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 Re: SCD Type2 in SAS Studio</title>
    <link>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/622401#M8739</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28829"&gt;@laxmanpai&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do we keep only the active records using SCD Type2 in every run ?.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eg : I execute the job today using SCD type 2 and load into the target table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tomorrow when I rerun the same job, I should have only the current active records excluding the others. Is there any changes that can be done in SCD type 2 transformation ?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To get answers faster ask DIS questions in the &lt;A href="https://communities.sas.com/t5/SAS-Data-Management/bd-p/data_management" target="_self"&gt;Data Management Forum&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;As for your question: Type 2 tables keep the full change history so you won't get rid of old records but you expire them. If you want to maintain such a table then yes, the SCD Type 2 transformation can help you with this.&lt;/P&gt;
&lt;P&gt;If you always have a full load from source (not deltas) then there is an option somewhere which let's you choose something like "close out records in target but not in source".&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2020 10:18:06 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2020-02-05T10:18:06Z</dc:date>
    <item>
      <title>SCD Type2</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/620747#M8711</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do we keep only the active records using SCD Type2 in every run ?.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eg : I execute the job today using SCD type 2 and load into the target table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tomorrow when I rerun the same job, I should have only the current active records excluding the others. Is there any changes that can be done in SCD type 2 transformation ?&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 05:40:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/620747#M8711</guid>
      <dc:creator>laxmanpai</dc:creator>
      <dc:date>2020-01-29T05:40:07Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type2</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/622114#M8732</link>
      <description>&lt;P&gt;I have not recieved any reply&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 06:02:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/622114#M8732</guid>
      <dc:creator>laxmanpai</dc:creator>
      <dc:date>2020-02-04T06:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type2</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/622264#M8735</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28829"&gt;@laxmanpai&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Is this maybe a question for the &lt;A href="https://communities.sas.com/t5/SAS-Data-Management/bd-p/data_management" target="_self"&gt;SAS Data Management community&lt;/A&gt;&amp;nbsp;rather than SAS Studio?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;Jennifer&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 18:40:57 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/622264#M8735</guid>
      <dc:creator>jennifert</dc:creator>
      <dc:date>2020-02-04T18:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type2</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/622401#M8739</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28829"&gt;@laxmanpai&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;How do we keep only the active records using SCD Type2 in every run ?.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Eg : I execute the job today using SCD type 2 and load into the target table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Tomorrow when I rerun the same job, I should have only the current active records excluding the others. Is there any changes that can be done in SCD type 2 transformation ?&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;To get answers faster ask DIS questions in the &lt;A href="https://communities.sas.com/t5/SAS-Data-Management/bd-p/data_management" target="_self"&gt;Data Management Forum&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;As for your question: Type 2 tables keep the full change history so you won't get rid of old records but you expire them. If you want to maintain such a table then yes, the SCD Type 2 transformation can help you with this.&lt;/P&gt;
&lt;P&gt;If you always have a full load from source (not deltas) then there is an option somewhere which let's you choose something like "close out records in target but not in source".&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 10:18:06 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/622401#M8739</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-02-05T10:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: SCD Type2</title>
      <link>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/624080#M8770</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/28829"&gt;@laxmanpai&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You haven't provided any feedback. Is your question answered?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 05:05:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Studio/SCD-Type2/m-p/624080#M8770</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2020-02-12T05:05:45Z</dc:date>
    </item>
  </channel>
</rss>

