<?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: Sql execution in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346313#M113728</link>
    <description>Thanks for your reply
&lt;BR /&gt;
&lt;BR /&gt;Sorry I didn't understood your logic .
&lt;BR /&gt;Can you please elaborate a little bit more and we can't change dayOne context in production server
&lt;BR /&gt;
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Lmit</description>
    <pubDate>Fri, 31 May 2019 15:06:40 GMT</pubDate>
    <dc:creator>lmit</dc:creator>
    <dc:date>2019-05-31T15:06:40Z</dc:date>
    <item>
      <title>Sql execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346311#M113726</link>
      <description>Hi all,&lt;BR /&gt;&lt;BR /&gt;I have a set of SQL queries which I need to execute in talend and send the output to files&lt;BR /&gt;For initial load I have one set of queries and for incremental loaf other set of queries&lt;BR /&gt;Initial load queries should run only day one&lt;BR /&gt;Can you suggest any approach for this requirement&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Lmit</description>
      <pubDate>Fri, 31 May 2019 13:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346311#M113726</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2019-05-31T13:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: Sql execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346312#M113727</link>
      <description>&lt;P&gt;What if you have a set of 3 context variables:&lt;/P&gt;&lt;P&gt;- dayOne set to true for 1rst time, false for other cases&lt;/P&gt;&lt;P&gt;- SQLDayOne SQL quesry for day 1&lt;/P&gt;&lt;P&gt;- SQLDayN SQL query for day n&lt;/P&gt;&lt;P&gt;Then you can decide which SQL query to use based on dayOne value:&lt;/P&gt;&lt;PRE&gt;context.dayOne ? context.SQLDayOne : context.DayN&lt;/PRE&gt;&lt;P&gt;Is that this kind of things you're searching for?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 14:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346312#M113727</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-05-31T14:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sql execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346313#M113728</link>
      <description>Thanks for your reply
&lt;BR /&gt;
&lt;BR /&gt;Sorry I didn't understood your logic .
&lt;BR /&gt;Can you please elaborate a little bit more and we can't change dayOne context in production server
&lt;BR /&gt;
&lt;BR /&gt;Thanks,
&lt;BR /&gt;Lmit</description>
      <pubDate>Fri, 31 May 2019 15:06:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346313#M113728</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2019-05-31T15:06:40Z</dc:date>
    </item>
    <item>
      <title>Re: Sql execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346314#M113729</link>
      <description>The Idea is to have queries in context variables instead of hard code then into tour tSqlXxxx components. This way you can also adapt queries without changing the concerned jobs.&lt;BR /&gt;If you can't change context manually on Prod, your job can create a properties file in which you will put the value for the dayOne context variable (dayOne=false). Using tContextLoad when the job starts you can get the the value.</description>
      <pubDate>Fri, 31 May 2019 18:18:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346314#M113729</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2019-05-31T18:18:01Z</dc:date>
    </item>
    <item>
      <title>Re: Sql execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346315#M113730</link>
      <description>Ok thanks for the explanation but I have a set of queries to execute not one.
&lt;BR /&gt;On day one I have to execute more than 10 queries which means I have to create 10 contexts and 10 more for incremental load.
&lt;BR /&gt;How do I execute these 10 queries?
&lt;BR /&gt;thanks in advance,
&lt;BR /&gt;Lmit</description>
      <pubDate>Fri, 31 May 2019 20:15:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346315#M113730</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2019-05-31T20:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Sql execution</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346316#M113731</link>
      <description>Any suggestions?&lt;BR /&gt;&lt;BR /&gt;Would be great help&lt;BR /&gt;&lt;BR /&gt;Thanks in advance,&lt;BR /&gt;Lmit</description>
      <pubDate>Mon, 03 Jun 2019 12:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Sql-execution/m-p/2346316#M113731</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2019-06-03T12:42:11Z</dc:date>
    </item>
  </channel>
</rss>

