<?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: DI Studio - Unresolved reference to table/correlation name in Delete task in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-Unresolved-reference-to-table-correlation-name-in/m-p/415750#M12701</link>
    <description>Spontanously it sounds more of a syntax rather than an execution error, a full log might answer that.&lt;BR /&gt;But I think you are doing this a bit more complicated than needed.  The Table Loader transform lets you either update/overwrite rows on existing keys, or just skip adding them (which to chose depends on the purpose of the target table).</description>
    <pubDate>Thu, 23 Nov 2017 07:00:25 GMT</pubDate>
    <dc:creator>LinusH</dc:creator>
    <dc:date>2017-11-23T07:00:25Z</dc:date>
    <item>
      <title>DI Studio - Unresolved reference to table/correlation name in Delete task</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-Unresolved-reference-to-table-correlation-name-in/m-p/415508#M12695</link>
      <description>&lt;P&gt;I'm running an extract from a SQL Server table.&amp;nbsp; Before I load into my destination table, I want to remove any keys in the destination table that have a match in the work table (W8T0KH11) I produced from my extract task.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The destination table has a PK on 'TransactionKey'.&amp;nbsp; If I don't run the deletion, the proc append that is run in the Table Loader errors due to the key already existing.&amp;nbsp; The reason I want to delete and re-append is because the rows have been updated at source.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the delete task, I have said where W8T0KH11.TransactionKey = DirectoryBaskets.TransactionKey.&amp;nbsp; This fails when I try to run the delete stating "ERROR: Unresolved reference to table/correlation name W8T0KH11."&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm of the opinion that for some reason the work table is not being created before I try to run the delete.&amp;nbsp; From the log it is defined and then immediately moves to process delete.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to have these deletions run before the table loader and appreciate any pointers.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Flow screenshot&amp;nbsp;:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Delete key flow task.png" style="width: 600px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/16791iBCD3B09DE9A9F9DE/image-size/large?v=v2&amp;amp;px=999" role="button" title="Delete key flow task.png" alt="Delete key flow task.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 13:52:37 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-Unresolved-reference-to-table-correlation-name-in/m-p/415508#M12695</guid>
      <dc:creator>Tom_Bailey</dc:creator>
      <dc:date>2017-11-22T13:52:37Z</dc:date>
    </item>
    <item>
      <title>Re: DI Studio - Unresolved reference to table/correlation name in Delete task</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-Unresolved-reference-to-table-correlation-name-in/m-p/415750#M12701</link>
      <description>Spontanously it sounds more of a syntax rather than an execution error, a full log might answer that.&lt;BR /&gt;But I think you are doing this a bit more complicated than needed.  The Table Loader transform lets you either update/overwrite rows on existing keys, or just skip adding them (which to chose depends on the purpose of the target table).</description>
      <pubDate>Thu, 23 Nov 2017 07:00:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-Unresolved-reference-to-table-correlation-name-in/m-p/415750#M12701</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-11-23T07:00:25Z</dc:date>
    </item>
    <item>
      <title>Re: DI Studio - Unresolved reference to table/correlation name in Delete task</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-Unresolved-reference-to-table-correlation-name-in/m-p/415790#M12702</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the response.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you mean the Update/Insert Load style, I found this was performing individual loops per row.&amp;nbsp; I have 700k+ rows to analyse and it was taking far too long (and had run up some impressive size logs).&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 10:08:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-Unresolved-reference-to-table-correlation-name-in/m-p/415790#M12702</guid>
      <dc:creator>Tom_Bailey</dc:creator>
      <dc:date>2017-11-23T10:08:48Z</dc:date>
    </item>
    <item>
      <title>Re: DI Studio - Unresolved reference to table/correlation name in Delete task</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-Unresolved-reference-to-table-correlation-name-in/m-p/415791#M12703</link>
      <description>&lt;P&gt;.... actually looks like that was due to the technique I was using.&amp;nbsp; Modify by index looks OK.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 10:14:32 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/DI-Studio-Unresolved-reference-to-table-correlation-name-in/m-p/415791#M12703</guid>
      <dc:creator>Tom_Bailey</dc:creator>
      <dc:date>2017-11-23T10:14:32Z</dc:date>
    </item>
  </channel>
</rss>

