<?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: New columns dont show up in SCD Type 2 -&amp;gt; Detect Changes in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297322#M8393</link>
    <description>&lt;P&gt;Answer is yes.&lt;/P&gt;&lt;P&gt;Ensure your key column list is correct.&lt;/P&gt;</description>
    <pubDate>Fri, 09 Sep 2016 08:12:30 GMT</pubDate>
    <dc:creator>RahulG</dc:creator>
    <dc:date>2016-09-09T08:12:30Z</dc:date>
    <item>
      <title>New columns dont show up in SCD Type 2 -&gt; Detect Changes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297321#M8392</link>
      <description>&lt;P&gt;I am using Data Integration Studio 4.9. I am using a SCD Type 2 transformation and the source table has new columns, but I can't see them in the "Detect Changes" tab of the transformation.&lt;/P&gt;&lt;P&gt;Do I need to create them manually in the target table first?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 08:10:07 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297321#M8392</guid>
      <dc:creator>dirks</dc:creator>
      <dc:date>2016-09-09T08:10:07Z</dc:date>
    </item>
    <item>
      <title>Re: New columns dont show up in SCD Type 2 -&gt; Detect Changes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297322#M8393</link>
      <description>&lt;P&gt;Answer is yes.&lt;/P&gt;&lt;P&gt;Ensure your key column list is correct.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 08:12:30 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297322#M8393</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2016-09-09T08:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: New columns dont show up in SCD Type 2 -&gt; Detect Changes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297323#M8394</link>
      <description>&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;Is there a fast and easy way to do it or do I need to write a PROC SQL statement by hand? I have to add a lot of new columns and writing them manually would be very tedious.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 08:15:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297323#M8394</guid>
      <dc:creator>dirks</dc:creator>
      <dc:date>2016-09-09T08:15:18Z</dc:date>
    </item>
    <item>
      <title>Re: New columns dont show up in SCD Type 2 -&gt; Detect Changes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297326#M8395</link>
      <description>&lt;P&gt;If you want to add new columns in Table metadata.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Go to Table properties ---&amp;gt; Columns Tab ( you will see all columns present in table)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In column Tab, there are two option, 1. Add new columns. 2. Import columns.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Use these two options to add column in Table metadata. It will speed your work.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 08:24:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297326#M8395</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2016-09-09T08:24:54Z</dc:date>
    </item>
    <item>
      <title>Re: New columns dont show up in SCD Type 2 -&gt; Detect Changes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297331#M8397</link>
      <description>&lt;P&gt;First two options highlighted in yellow should help you.&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://communities.sas.com/t5/image/serverpage/image-id/4877iDDB09247928C6990/image-size/original?v=v2&amp;amp;px=-1" border="0" alt="DI_table_option.png" title="DI_table_option.png" /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 08:32:11 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297331#M8397</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2016-09-09T08:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: New columns dont show up in SCD Type 2 -&gt; Detect Changes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297333#M8398</link>
      <description>&lt;P&gt;I somehow doesnt work.&lt;/P&gt;&lt;P&gt;This is what I am doing:&lt;/P&gt;&lt;P&gt;1. Open Target Table&lt;/P&gt;&lt;P&gt;2. Columns -&amp;gt; Import Columns&lt;/P&gt;&lt;P&gt;3. Select Source Table -&amp;gt; Right Arrow to add all columns&lt;/P&gt;&lt;P&gt;4. Get a warning because of existing columns.&lt;/P&gt;&lt;P&gt;5. Click OK&lt;/P&gt;&lt;P&gt;6. Properties of SCD Type 2 Transformation -&amp;gt; Detect Changes -&amp;gt; Put all columns from&amp;nbsp;left to&amp;nbsp;right&lt;/P&gt;&lt;P&gt;7. Run SCD Type 2 Transformation&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Now I get a&amp;nbsp;warning for every new column I just added:&lt;/P&gt;&lt;P align="left"&gt;WARNING: The variable ACCOUNTID in the DROP, KEEP, or RENAME list has never been referenced.&lt;/P&gt;&lt;P align="left"&gt;&amp;nbsp;&lt;/P&gt;&lt;P align="left"&gt;Did I miss anything?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 08:48:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297333#M8398</guid>
      <dc:creator>dirks</dc:creator>
      <dc:date>2016-09-09T08:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: New columns dont show up in SCD Type 2 -&gt; Detect Changes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297335#M8399</link>
      <description>&lt;P&gt;Have you listed right set of column in business key tab.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am guessing ACCOUNTID should be listed in business key&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 08:52:58 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297335#M8399</guid>
      <dc:creator>RahulG</dc:creator>
      <dc:date>2016-09-09T08:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: New columns dont show up in SCD Type 2 -&gt; Detect Changes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297339#M8400</link>
      <description>&lt;P&gt;The business key is SERVICEID. ACCOUNTID was just an example. I get a warning for every new column.&lt;/P&gt;&lt;P&gt;The imported columns are gone now aswell. They dont show up anymore in the "Detect Changes" tab.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 09:08:59 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297339#M8400</guid>
      <dc:creator>dirks</dc:creator>
      <dc:date>2016-09-09T09:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: New columns dont show up in SCD Type 2 -&gt; Detect Changes</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297527#M8405</link>
      <description>&lt;P&gt;There are 2 parts to this question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. On metadata level:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- propagate and map the new columns from source to target.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- Once done you will have these columns available for change tracking.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. On physical table level:&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;- if you can drop the physical table. The DIS job will then re-create the table based on your table metadata definition with all the new columns as soon as you run it again.&lt;/P&gt;
&lt;P&gt;- if you can't drop the table: The SCD2 loader doesn't add new&amp;nbsp;columns "automatically" to the physical table so you will need to write a once off job with a SLQ alter table statement and add all these columns scripted. For all new columns which then are under type 2 change tracking a new version will be added to the target table as soon as you load new data (because the new columns will be NULL/missing initially).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 02:57:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/New-columns-dont-show-up-in-SCD-Type-2-gt-Detect-Changes/m-p/297527#M8405</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2016-09-10T02:57:03Z</dc:date>
    </item>
  </channel>
</rss>

