<?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 Big queries for delete, insert and updates from SQL to Salesforce in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Big-queries-for-delete-insert-and-updates-from-SQL-to-Salesforce/m-p/2269213#M47538</link>
    <description>&lt;P&gt;Hi guys!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I'm running a big query and it goes like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SQLinput ---&amp;gt; tmap (lookups from order) ---&amp;gt; tmap2 (lookup orderitem id based on order id) ----&amp;gt; salesforce orderitem output (delete)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem here is i have 143,000 rows every night to process (new rows)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I figure I can do tmap lookups like i showed above, and then reload at each row for orderitem but then it will reload 143000 times which might take a really, really long time...and it might even error out and cause the whole job to fail&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is, is there a better way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to delete orderitems from an order in salesforce without having to lookup the orderitem id?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need some advice! Thank you!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MI7r.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131877i4872C2E50F2AC990/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MI7r.png" alt="0683p000009MI7r.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:02:26 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T04:02:26Z</dc:date>
    <item>
      <title>Big queries for delete, insert and updates from SQL to Salesforce</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Big-queries-for-delete-insert-and-updates-from-SQL-to-Salesforce/m-p/2269213#M47538</link>
      <description>&lt;P&gt;Hi guys!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;So I'm running a big query and it goes like this&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SQLinput ---&amp;gt; tmap (lookups from order) ---&amp;gt; tmap2 (lookup orderitem id based on order id) ----&amp;gt; salesforce orderitem output (delete)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The problem here is i have 143,000 rows every night to process (new rows)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I figure I can do tmap lookups like i showed above, and then reload at each row for orderitem but then it will reload 143000 times which might take a really, really long time...and it might even error out and cause the whole job to fail&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;My question is, is there a better way to do this?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there a way to delete orderitems from an order in salesforce without having to lookup the orderitem id?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Need some advice! Thank you!&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MI7r.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131877i4872C2E50F2AC990/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MI7r.png" alt="0683p000009MI7r.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:02:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Big-queries-for-delete-insert-and-updates-from-SQL-to-Salesforce/m-p/2269213#M47538</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T04:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: Big queries for delete, insert and updates from SQL to Salesforce</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Big-queries-for-delete-insert-and-updates-from-SQL-to-Salesforce/m-p/2269214#M47539</link>
      <description>&lt;P&gt;Hi &lt;BR /&gt;As suggested by manodwhb in your another topic,&amp;nbsp;&lt;BR /&gt;&lt;A href="https://community.qlik.com/s/feed/0D73p000004kiN8CAI#M113315" target="_blank" rel="noopener"&gt;https://community.talend.com/t5/Design-and-Development/Dynamic-SQL-Input-queries-for-lookups/m-p/206694#M113315&lt;/A&gt;&lt;BR /&gt;had you tried to use globalMapkey in lookup query to filter the rows？&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 02 Dec 2019 07:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Big-queries-for-delete-insert-and-updates-from-SQL-to-Salesforce/m-p/2269214#M47539</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-12-02T07:29:13Z</dc:date>
    </item>
  </channel>
</rss>

