<?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: Reading queries from .sql file and parsing query in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Reading-queries-from-sql-file-and-parsing-query/m-p/2294314#M67210</link>
    <description>Thanks xdshi, 
&lt;BR /&gt;I tried your method in Oracle instead of SQL, thanks it worked. But I have doubt. The values of table is seen in the query editor of tOracleRow as seen in screenshots. Also in tLogRow, I got output, but the data in table is shown as null. Why is it so? 
&lt;BR /&gt;Also I want to load the displayed data in tLogRow in deliminated file or similar structured database...... please help.... 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAza.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138792iEED9EABAEA31FE5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAza.jpg" alt="0683p000009MAza.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAzf.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151444iFF0DEA4DAE50202D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAzf.jpg" alt="0683p000009MAzf.jpg" /&gt;&lt;/span&gt;</description>
    <pubDate>Mon, 26 Aug 2013 11:45:25 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-08-26T11:45:25Z</dc:date>
    <item>
      <title>Reading queries from .sql file and parsing query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-queries-from-sql-file-and-parsing-query/m-p/2294312#M67208</link>
      <description>Hi everyone, 
&lt;BR /&gt; My query is that I need to pass the output of an certain SQL query to target destination. let me elaborate the scenario. 
&lt;BR /&gt;I have an .sql file with an query. 
&lt;BR /&gt;Query: select empno, empname, sal, designation, company from EMP 
&lt;BR /&gt;This query will generate an output, 
&lt;BR /&gt;103 advani 100 gm infy 
&lt;BR /&gt;104 amit 100 developer TCS 
&lt;BR /&gt;Now my requirement is that this output is not seen in Talend Data Integration anywhere. I want to pass this query such that the respective output will be either transferred to similar database or be stored in an txt file in deliminated form. 
&lt;BR /&gt; I tried tSQLRow &amp;amp; tFileInputFullRow but couldn't figure out any way.... 
&lt;BR /&gt;Let me explain again, I want to pass an SQL query in Talend Data Integration and output of respective query to be transferred in target database or deliminated file. 
&lt;BR /&gt;I tried running insert and update queries using tSQLRow, they work fine. Even the select queries work, but the obtained outpt needs to be used somewhere else.</description>
      <pubDate>Mon, 26 Aug 2013 11:11:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-queries-from-sql-file-and-parsing-query/m-p/2294312#M67208</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-26T11:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Reading queries from .sql file and parsing query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-queries-from-sql-file-and-parsing-query/m-p/2294313#M67209</link>
      <description>Hi, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Now my requirement is that this output is not seen in Talend Data Integration anywhere. I want to pass this query such that the respective output will be either transferred to similar database or be stored in an txt file in deliminated form.&lt;BR /&gt;I tried tSQLRow &amp;amp; tFileInputFullRow but couldn't figure out any way....&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Did you use tXXXinput component to execute sql query? Actually, I have made a demo job: tMySqlInput--&amp;gt;tlogrow to see the output. see my pics 
&lt;BR /&gt;Or you want to pass query into output file?( select empno, empname, sal, designation, company from EMP) 
&lt;BR /&gt;Best regards 
&lt;BR /&gt;Sabrina 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAzL.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/149542iFED4C2564A6AA5A2/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAzL.png" alt="0683p000009MAzL.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAzQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134898i9D2EE74F5044BB49/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAzQ.png" alt="0683p000009MAzQ.png" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAzV.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/148177i90DC6E3D8FF437AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAzV.png" alt="0683p000009MAzV.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 26 Aug 2013 11:24:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-queries-from-sql-file-and-parsing-query/m-p/2294313#M67209</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-26T11:24:48Z</dc:date>
    </item>
    <item>
      <title>Re: Reading queries from .sql file and parsing query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-queries-from-sql-file-and-parsing-query/m-p/2294314#M67210</link>
      <description>Thanks xdshi, 
&lt;BR /&gt;I tried your method in Oracle instead of SQL, thanks it worked. But I have doubt. The values of table is seen in the query editor of tOracleRow as seen in screenshots. Also in tLogRow, I got output, but the data in table is shown as null. Why is it so? 
&lt;BR /&gt;Also I want to load the displayed data in tLogRow in deliminated file or similar structured database...... please help.... 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAza.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138792iEED9EABAEA31FE5B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAza.jpg" alt="0683p000009MAza.jpg" /&gt;&lt;/span&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAzf.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151444iFF0DEA4DAE50202D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAzf.jpg" alt="0683p000009MAzf.jpg" /&gt;&lt;/span&gt;</description>
      <pubDate>Mon, 26 Aug 2013 11:45:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-queries-from-sql-file-and-parsing-query/m-p/2294314#M67210</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-26T11:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Reading queries from .sql file and parsing query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Reading-queries-from-sql-file-and-parsing-query/m-p/2294315#M67211</link>
      <description>Hi, &lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;The values of table is seen in the query editor of tOracleRow as seen in screenshots. Also in tLogRow, I got output, but the data in table is shown as null. Why is it so?&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;As a matter of fact, we usually use t&amp;lt;DB&amp;gt;Input to execute a select query, you have to use a tParseRecordSet after t&amp;lt;DB&amp;gt;Row to parse the record set if you use t&amp;lt;DB&amp;gt;Row to execute a select query.&lt;BR /&gt;Please see the component reference &lt;A href="https://help.talend.com/search/all?query=tMysqlRow&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;tMysqlRow&lt;/A&gt; with related scenarios.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Tue, 27 Aug 2013 04:35:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Reading-queries-from-sql-file-and-parsing-query/m-p/2294315#M67211</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-08-27T04:35:28Z</dc:date>
    </item>
  </channel>
</rss>

