<?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 Data Integration Studio Archive Table in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/Data-Integration-Studio-Archive-Table/m-p/586196#M17910</link>
    <description>&lt;P&gt;How do you set up an archive table job in Data Integration Studio?&amp;nbsp; I need to insert new rows nightly and keep the old rows.&amp;nbsp; I'm playing with the append transformation and merge transformation and having a hard time with both.&amp;nbsp; It looks like the merge transformation is the way to go.&amp;nbsp; For the merge transformation, I selected all columns from the source table on the insert tab.&amp;nbsp; I selected only the composite key columns on the match tab.&amp;nbsp; I know I'm missing a step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message is One or more expression(s) are invalid.&amp;nbsp; Please fix the expression(s).&amp;nbsp; the insert statement is incomplete: Both the left and right operands are missing.&amp;nbsp; Fix the invalid expression.&amp;nbsp; The insert statement is incomplete: A set expression is missing a field or value.&lt;/P&gt;</description>
    <pubDate>Wed, 04 Sep 2019 16:54:29 GMT</pubDate>
    <dc:creator>DavidPhillips2</dc:creator>
    <dc:date>2019-09-04T16:54:29Z</dc:date>
    <item>
      <title>Data Integration Studio Archive Table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Data-Integration-Studio-Archive-Table/m-p/586196#M17910</link>
      <description>&lt;P&gt;How do you set up an archive table job in Data Integration Studio?&amp;nbsp; I need to insert new rows nightly and keep the old rows.&amp;nbsp; I'm playing with the append transformation and merge transformation and having a hard time with both.&amp;nbsp; It looks like the merge transformation is the way to go.&amp;nbsp; For the merge transformation, I selected all columns from the source table on the insert tab.&amp;nbsp; I selected only the composite key columns on the match tab.&amp;nbsp; I know I'm missing a step.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The error message is One or more expression(s) are invalid.&amp;nbsp; Please fix the expression(s).&amp;nbsp; the insert statement is incomplete: Both the left and right operands are missing.&amp;nbsp; Fix the invalid expression.&amp;nbsp; The insert statement is incomplete: A set expression is missing a field or value.&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 16:54:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Data-Integration-Studio-Archive-Table/m-p/586196#M17910</guid>
      <dc:creator>DavidPhillips2</dc:creator>
      <dc:date>2019-09-04T16:54:29Z</dc:date>
    </item>
    <item>
      <title>Re: Data Integration Studio Archive Table</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/Data-Integration-Studio-Archive-Table/m-p/586269#M17911</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/5059"&gt;@DavidPhillips2&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As far as I understand things the Merge transformation is creating SQL MERGE code which allows you to combine INSERT and UPDATE in a single SQL.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what you describe you need only INSERT. If you've got the delta records already then I'd be using the Append transformation with &lt;EM&gt;append to existing, &lt;/EM&gt;if you first have to work out the delta records then I'd be using the SQL INSERT transformation.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Sep 2019 21:42:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/Data-Integration-Studio-Archive-Table/m-p/586269#M17911</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2019-09-04T21:42:42Z</dc:date>
    </item>
  </channel>
</rss>

