<?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 Dynamic SQL query column modification in Talend in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-SQL-query-column-modification-in-Talend/m-p/2237336#M25803</link>
    <description>&lt;P&gt;Hello,&lt;BR /&gt;Similar way, I would like to change the SQL query columns dynamically in talend. I am fetching the columns values from one file and I was trying to store those values in Context Variable. So for every iteration it will choose different value and it will change the SQL column in query. Later I would like to store output file system with the name of value which we have retrieved from variable i.e. &amp;lt;Variable_Value&amp;gt;.dat&lt;/P&gt;&lt;P&gt;Could you please help in this use case? or Did somebody try this scenario before?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Fri, 01 Feb 2019 20:12:37 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-01T20:12:37Z</dc:date>
    <item>
      <title>Dynamic SQL query column modification in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-SQL-query-column-modification-in-Talend/m-p/2237336#M25803</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;Similar way, I would like to change the SQL query columns dynamically in talend. I am fetching the columns values from one file and I was trying to store those values in Context Variable. So for every iteration it will choose different value and it will change the SQL column in query. Later I would like to store output file system with the name of value which we have retrieved from variable i.e. &amp;lt;Variable_Value&amp;gt;.dat&lt;/P&gt;&lt;P&gt;Could you please help in this use case? or Did somebody try this scenario before?&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 01 Feb 2019 20:12:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-SQL-query-column-modification-in-Talend/m-p/2237336#M25803</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-01T20:12:37Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic SQL query column modification in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-SQL-query-column-modification-in-Talend/m-p/2237337#M25804</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can you please explain your question with input file and expected output ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Feb 2019 21:31:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-SQL-query-column-modification-in-Talend/m-p/2237337#M25804</guid>
      <dc:creator>akumar2301</dc:creator>
      <dc:date>2019-02-03T21:31:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic SQL query column modification in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-SQL-query-column-modification-in-Talend/m-p/2237338#M25805</link>
      <description>&lt;P&gt;For example:&lt;/P&gt;
&lt;P&gt;Input file contains&amp;nbsp;&lt;/P&gt;
&lt;P&gt;AMT1&lt;/P&gt;
&lt;P&gt;AMT2&lt;/P&gt;
&lt;P&gt;AMT3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Source Table: ABC (ID number, NAME varchar2(30), AMT1 number, AMT2, number, AMT3 number)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Expected query -&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1st iteration: SELECT NAME, SUM(AMT1) from ABC where ID=(...) group by NAME;&lt;/P&gt;
&lt;P&gt;2nd iteration: SELECT NAME, SUM(AMT2) from ABC where ID=(...) group by NAME;&lt;/P&gt;
&lt;P&gt;3rd iteration: SELECT NAME, SUM(AMT3) from ABC where ID=(...) group by NAME;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In the above query I want use variable instead of "AMT[1-3]" so it will pickup the values of column from lookup file and it will generate query at runtime to produce output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you!!!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 02:51:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-SQL-query-column-modification-in-Talend/m-p/2237338#M25805</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-04T02:51:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic SQL query column modification in Talend</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Dynamic-SQL-query-column-modification-in-Talend/m-p/2237339#M25806</link>
      <description>&lt;P&gt;Hi &lt;A href="https://community.qlik.com/s/profile/0053p000007LPEWAA4"&gt;@RakeshSelukar&lt;/A&gt;,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can try below,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job_design.JPG" style="width: 741px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2OS.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143455i535CCA636F3A447F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2OS.jpg" alt="0683p000009M2OS.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job_design_1.JPG" style="width: 545px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2OX.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128791iFA51FF26A77CC268/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2OX.jpg" alt="0683p000009M2OX.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job_design_2.JPG" style="width: 892px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Oc.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129356i0695797065A7CB50/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Oc.jpg" alt="0683p000009M2Oc.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job_design_3.JPG" style="width: 953px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2Oh.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/157340iB299B17108E2C0DB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2Oh.jpg" alt="0683p000009M2Oh.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;EM&gt;&lt;FONT color="#333399"&gt;Please mark the topic as resolved if my answer helped you and Kudos are also welcome.&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt; 
&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#333399"&gt;Regards,&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;FONT color="#333399"&gt;&lt;STRONG&gt;Vibin CT&lt;/STRONG&gt;.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Feb 2019 06:06:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Dynamic-SQL-query-column-modification-in-Talend/m-p/2237339#M25806</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-04T06:06:07Z</dc:date>
    </item>
  </channel>
</rss>

