<?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 looping for date in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/looping-for-date/m-p/2291879#M65015</link>
    <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I have a challenging issue with one of my SQL queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the sql query structure as below: I use amazon redshift database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a.*, a.date&lt;/P&gt;&lt;P&gt;from table a&lt;/P&gt;&lt;P&gt;where a.date &amp;lt; '2020-01-01'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to lookp the same query for dates between 2020-01-01 till max date in my table a.so intead of hardcoded date &lt;/P&gt;&lt;P&gt;'2020-01-01', i want to pass date as parameter to query and loop it till current date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a component in talend to achieve this? how to implement this logic in Talend? do we need to write a SP ? please help&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 01:28:51 GMT</pubDate>
    <dc:creator>sushantk19</dc:creator>
    <dc:date>2024-11-16T01:28:51Z</dc:date>
    <item>
      <title>looping for date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-for-date/m-p/2291879#M65015</link>
      <description>&lt;P&gt;Hello Everyone,&lt;/P&gt;&lt;P&gt;I have a challenging issue with one of my SQL queries.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have the sql query structure as below: I use amazon redshift database.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select a.*, a.date&lt;/P&gt;&lt;P&gt;from table a&lt;/P&gt;&lt;P&gt;where a.date &amp;lt; '2020-01-01'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to lookp the same query for dates between 2020-01-01 till max date in my table a.so intead of hardcoded date &lt;/P&gt;&lt;P&gt;'2020-01-01', i want to pass date as parameter to query and loop it till current date.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is there a component in talend to achieve this? how to implement this logic in Talend? do we need to write a SP ? please help&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:28:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-for-date/m-p/2291879#M65015</guid>
      <dc:creator>sushantk19</dc:creator>
      <dc:date>2024-11-16T01:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: looping for date</title>
      <link>https://community.qlik.com/t5/Talend-Studio/looping-for-date/m-p/2291880#M65016</link>
      <description>&lt;P&gt;@Sushant Kapoor​&amp;nbsp;,  if you want  to do a loop, you can use tLoop component, take a look at the component documentation and learn this component. Let me know if you still have any troubles. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Shong&lt;/P&gt;</description>
      <pubDate>Mon, 14 Sep 2020 03:04:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/looping-for-date/m-p/2291880#M65016</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-09-14T03:04:04Z</dc:date>
    </item>
  </channel>
</rss>

