<?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: How to use a CSV File as input to an Oracle query in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272163#M49517</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOZCAA4"&gt;@Neil_Emery&lt;/A&gt;,you need to design a job in below way.&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="Untitled.png" style="width: 775px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzUD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153669iC5BC887282DADBCF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzUD.png" alt="0683p000009LzUD.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 11 Sep 2018 11:45:56 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2018-09-11T11:45:56Z</dc:date>
    <item>
      <title>How to use a CSV File as input to an Oracle query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272161#M49515</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I am trying to build a job that takes in a file of ID's and then uses those IDs to query rows from an Oracle database&lt;/P&gt; 
&lt;P&gt;This is the flow in Talend 7.0.1.&lt;/P&gt; 
&lt;P&gt;How can i connect the file to the database table?&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Job Flow" style="width: 736px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzTP.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/144345i53872063D1113642/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzTP.jpg" alt="0683p000009LzTP.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Job Flow&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Neil&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:41:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272161#M49515</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a CSV File as input to an Oracle query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272162#M49516</link>
      <description>&lt;P&gt;You cannot connect these components.&lt;/P&gt;&lt;P&gt;What you can do is contruct a dynamic where clause based on the file content using a tJavaFlex component connected to the tFileInputDelimited component. This where clause will be a global variable reused into the tOracleInput component.&lt;/P&gt;&lt;P&gt;If the input is too large to construct this where clause, you can you a tMap after the&amp;nbsp;&lt;SPAN&gt;tFileInputDelimited to filter the rows which are not in the input file.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Sep 2018 11:46:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272162#M49516</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-09-10T11:46:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a CSV File as input to an Oracle query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272163#M49517</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOZCAA4"&gt;@Neil_Emery&lt;/A&gt;,you need to design a job in below way.&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="Untitled.png" style="width: 775px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LzUD.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/153669iC5BC887282DADBCF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LzUD.png" alt="0683p000009LzUD.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 11:45:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272163#M49517</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2018-09-11T11:45:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a CSV File as input to an Oracle query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272164#M49518</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOZCAA4"&gt;@Neil_Emery&lt;/A&gt;&amp;nbsp;-&amp;nbsp;&lt;BR /&gt;If you want to run your query on the oracle database multiple number of times that is one run for each of the id you get from file then you need to iterate on the id's fetched from file - you could consider the solution provided by&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&lt;BR /&gt;But, if you want to run your query only once for all the id's fetched from your file then you need to go with the solution provided by&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;. You have to get all the id's and store it temporarily - concat it as a comma separate string maybe then pass it to your Oracle component through global variable.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 11:55:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272164#M49518</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-09-11T11:55:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a CSV File as input to an Oracle query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272165#M49519</link>
      <description>&lt;P&gt;Thanks for this.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How do I tie the ID from the flow component to the ID in the query&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Neil&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 15:10:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272165#M49519</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-09-12T15:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to use a CSV File as input to an Oracle query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272166#M49520</link>
      <description>&lt;P&gt;Your query should look something like this -&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;SELECT Col1, Col2
FROM [TableName]
WHERE ID  IN " + ((String)globalMap.get("sqlCode")) + "&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 19:39:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-use-a-CSV-File-as-input-to-an-Oracle-query/m-p/2272166#M49520</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-09-12T19:39:42Z</dc:date>
    </item>
  </channel>
</rss>

