<?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: Excel import and Database Query in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Excel-import-and-Database-Query/m-p/2273481#M50460</link>
    <description>Hi, 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;tFileList -Iterate-&amp;gt; tFileInputExcel -row1-&amp;gt; tConvertType -row3-&amp;gt; tFlowToIterate -Iterate-&amp;gt; tOracleInput -row2-&amp;gt; tLogRow&lt;BR /&gt;Now i have a table with data from the database but what I need is a table data from the database and the excel file. Does anybody know how i can do this?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;If i don't make misunderstanding your requirement, do you want to use a dynamics sql in tOracleInput to get the query?
&lt;BR /&gt;Put the following sql into your tOracleInput component
&lt;BR /&gt;
&lt;PRE&gt; "select * from tablename where name='"+(String)globalMap.get("row3.name")+"'"&lt;/PRE&gt;
&lt;BR /&gt;Hope it is what you need.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
    <pubDate>Fri, 18 Jan 2013 06:47:29 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2013-01-18T06:47:29Z</dc:date>
    <item>
      <title>Excel import and Database Query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-import-and-Database-Query/m-p/2273480#M50459</link>
      <description>Hi,&lt;BR /&gt;I did the following:&lt;BR /&gt;tFileList -Iterate-&amp;gt; tFileInputExcel -row1-&amp;gt; tConvertType -row3-&amp;gt; tFlowToIterate -Iterate-&amp;gt; tOracleInput -row2-&amp;gt; tLogRow&lt;BR /&gt;Now i have a table with data from the database but what I need is a table data from the database and the excel file. Does anybody know how i can do this?&lt;BR /&gt;I don't want to do a simple tMap between the tFileInputExcel and the tOracleInput because the database table consits of thousands rows.</description>
      <pubDate>Thu, 17 Jan 2013 15:26:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-import-and-Database-Query/m-p/2273480#M50459</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-01-17T15:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Excel import and Database Query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-import-and-Database-Query/m-p/2273481#M50460</link>
      <description>Hi, 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;tFileList -Iterate-&amp;gt; tFileInputExcel -row1-&amp;gt; tConvertType -row3-&amp;gt; tFlowToIterate -Iterate-&amp;gt; tOracleInput -row2-&amp;gt; tLogRow&lt;BR /&gt;Now i have a table with data from the database but what I need is a table data from the database and the excel file. Does anybody know how i can do this?&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;If i don't make misunderstanding your requirement, do you want to use a dynamics sql in tOracleInput to get the query?
&lt;BR /&gt;Put the following sql into your tOracleInput component
&lt;BR /&gt;
&lt;PRE&gt; "select * from tablename where name='"+(String)globalMap.get("row3.name")+"'"&lt;/PRE&gt;
&lt;BR /&gt;Hope it is what you need.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 18 Jan 2013 06:47:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-import-and-Database-Query/m-p/2273481#M50460</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-01-18T06:47:29Z</dc:date>
    </item>
  </channel>
</rss>

