<?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: Usage of Iterate link with Db component in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Usage-of-Iterate-link-with-Db-component/m-p/2205547#M5974</link>
    <description>&lt;P&gt;Hi Dimitri,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If you are looking to iterate the result set from a file at the rate of one record per execution, then the best way to do it is by using tFlowtoIterate. Please refer the link below to get details about this component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/WqJCkTE5~5DDaSFvtNXZnQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/WqJCkTE5~5DDaSFvtNXZnQ&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Now, coming to your query about what you need to select for Action on table, the answer depends on your specific requirement. The details for various values are as shown below. If you are having any further queries, please feel free to reply to the post.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;/SPAN&gt;: No operation is carried out.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Drop and create table&lt;/STRONG&gt;&lt;/SPAN&gt;: The table is removed and created again.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Create table&lt;/STRONG&gt;&lt;/SPAN&gt;: The table does not exist and gets created.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Create table if not exists&lt;/STRONG&gt;&lt;/SPAN&gt;: The table is created if it does not exist.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Drop table if exists and create&lt;/STRONG&gt;&lt;/SPAN&gt;: The table is removed if it already exists and created again.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Clear table&lt;/STRONG&gt;&lt;/SPAN&gt;: The table content is deleted.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Truncate table&lt;/STRONG&gt;&lt;/SPAN&gt;: The table content is deleted. You do not have the possibility to rollback the operation.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 21 Jan 2019 10:25:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-01-21T10:25:14Z</dc:date>
    <item>
      <title>Usage of Iterate link with Db component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Usage-of-Iterate-link-with-Db-component/m-p/2205546#M5973</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know exactly the best way to realize the following.&lt;/P&gt;
&lt;P&gt;I need to process a list of file to put the content (each line) in DB.&lt;/P&gt;
&lt;P&gt;I use the following structure :&lt;/P&gt;
&lt;P&gt;tFileList (list each file) -&amp;gt; Iterate -&amp;gt; tFileInputRegex (extract only some line) -&amp;gt; Main -&amp;gt;tMap (add info) -&amp;gt; Main -&amp;gt; tOracleOutput.&lt;/P&gt;
&lt;P&gt;The process is good but I don't know the correct "Action on table" to make.&lt;/P&gt;
&lt;P&gt;I would like to drop the table and create only one time by execution not by file (by iteration) but I don't know how to do this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Dimitri&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 08:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Usage-of-Iterate-link-with-Db-component/m-p/2205546#M5973</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-21T08:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Iterate link with Db component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Usage-of-Iterate-link-with-Db-component/m-p/2205547#M5974</link>
      <description>&lt;P&gt;Hi Dimitri,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; If you are looking to iterate the result set from a file at the rate of one record per execution, then the best way to do it is by using tFlowtoIterate. Please refer the link below to get details about this component.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;A href="https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/WqJCkTE5~5DDaSFvtNXZnQ" target="_blank" rel="nofollow noopener noreferrer"&gt;https://help.talend.com/reader/wDRBNUuxk629sNcI0dNYaA/WqJCkTE5~5DDaSFvtNXZnQ&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Now, coming to your query about what you need to select for Action on table, the answer depends on your specific requirement. The details for various values are as shown below. If you are having any further queries, please feel free to reply to the post.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Default&lt;/STRONG&gt;&lt;/SPAN&gt;: No operation is carried out.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Drop and create table&lt;/STRONG&gt;&lt;/SPAN&gt;: The table is removed and created again.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Create table&lt;/STRONG&gt;&lt;/SPAN&gt;: The table does not exist and gets created.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Create table if not exists&lt;/STRONG&gt;&lt;/SPAN&gt;: The table is created if it does not exist.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Drop table if exists and create&lt;/STRONG&gt;&lt;/SPAN&gt;: The table is removed if it already exists and created again.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Clear table&lt;/STRONG&gt;&lt;/SPAN&gt;: The table content is deleted.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="emphasis"&gt;&lt;STRONG&gt;Truncate table&lt;/STRONG&gt;&lt;/SPAN&gt;: The table content is deleted. You do not have the possibility to rollback the operation.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 10:25:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Usage-of-Iterate-link-with-Db-component/m-p/2205547#M5974</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-21T10:25:14Z</dc:date>
    </item>
    <item>
      <title>Re: Usage of Iterate link with Db component</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Usage-of-Iterate-link-with-Db-component/m-p/2205548#M5975</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;No... I would like to iterate on each file to extract n lines, keep n lines and after process n lines in one flow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Today, I do the following :&lt;/P&gt;&lt;P&gt;a subjob, with :&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;tFileList (list each file) -&amp;gt; Iterate -&amp;gt; tFileInputRegex (extract only some line) -&amp;gt; Main -&amp;gt;tMap (add info) -&amp;gt; Main -&amp;gt; tDeilimitedFileOutput&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;And onsubjob ok : tDelimitedFileInput -&amp;gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;tOracleOutput&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;It's work but I have a temporary file maybe the best design.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Dimitri&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Jan 2019 14:25:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Usage-of-Iterate-link-with-Db-component/m-p/2205548#M5975</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-21T14:25:07Z</dc:date>
    </item>
  </channel>
</rss>

