<?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 Iterate through the date and execute the sql for each date and create a CSV file for each day. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Iterate-through-the-date-and-execute-the-sql-for-each-date-and/m-p/2211698#M9619</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am quite new to Talend, and i am having a hard time in one of my usecase&amp;nbsp;in Talend.&lt;/P&gt; 
&lt;P&gt;Use case is : I have a start date and end_date, and i am loop through the two dates to get the list of dates between start and end date. Later, i am trying to pass the context variable to SQL to get the data for that specific date and create a CSV file for each date. For Example, start_date is 25.03.2019, and end_date is 29.03.2019, the CSV file should be loaded with 25, 26,27,28,29 data. I have been successful in looping through the date, but in SQL, the date is not iterating.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talend_pro.GIF" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M42x.gif"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144963iFC554480B446F0A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M42x.gif" alt="0683p000009M42x.gif" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 06:13:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T06:13:25Z</dc:date>
    <item>
      <title>Iterate through the date and execute the sql for each date and create a CSV file for each day.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-through-the-date-and-execute-the-sql-for-each-date-and/m-p/2211698#M9619</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am quite new to Talend, and i am having a hard time in one of my usecase&amp;nbsp;in Talend.&lt;/P&gt; 
&lt;P&gt;Use case is : I have a start date and end_date, and i am loop through the two dates to get the list of dates between start and end date. Later, i am trying to pass the context variable to SQL to get the data for that specific date and create a CSV file for each date. For Example, start_date is 25.03.2019, and end_date is 29.03.2019, the CSV file should be loaded with 25, 26,27,28,29 data. I have been successful in looping through the date, but in SQL, the date is not iterating.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="talend_pro.GIF" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M42x.gif"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144963iFC554480B446F0A9/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M42x.gif" alt="0683p000009M42x.gif" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 06:13:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-through-the-date-and-execute-the-sql-for-each-date-and/m-p/2211698#M9619</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T06:13:25Z</dc:date>
    </item>
    <item>
      <title>Re: Iterate through the date and execute the sql for each date and create a CSV file for each day.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Iterate-through-the-date-and-execute-the-sql-for-each-date-and/m-p/2211699#M9620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; re you trying to give the start date and end date as parameters to tOracleInput component? I am slightly confused here as I could not see any csv file as mentioned in your query. In ideal case, you need to store the start date and end date to a context variable and then pass it as a parameter during later stages.&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, 01 Apr 2019 07:09:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Iterate-through-the-date-and-execute-the-sql-for-each-date-and/m-p/2211699#M9620</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-04-01T07:09:44Z</dc:date>
    </item>
  </channel>
</rss>

