<?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 IN() Clause from a list a value in a file in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SQL-IN-Clause-from-a-list-a-value-in-a-file/m-p/2339008#M107196</link>
    <description>Hi varior, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;..can you confirm that the whole flow is processed by the tMap&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Yes, that is my understanding. I have seen that the new milestone release allows a dynamic inner join, but I haven't tried it myself ( 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCoapCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/tMap-with-dynamic-sql-lookup/td-p/95658&lt;/A&gt;) 
&lt;BR /&gt;Cheers, 
&lt;BR /&gt;c0utta</description>
    <pubDate>Wed, 08 Apr 2009 07:30:34 GMT</pubDate>
    <dc:creator>c0utta</dc:creator>
    <dc:date>2009-04-08T07:30:34Z</dc:date>
    <item>
      <title>SQL IN() Clause from a list a value in a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-IN-Clause-from-a-list-a-value-in-a-file/m-p/2339005#M107193</link>
      <description>Hi !
&lt;BR /&gt;I'm new here and use TOS almost for the first time.
&lt;BR /&gt;
&lt;BR /&gt;According this query (based on an Oracle connetion) :
&lt;BR /&gt;Select * from ORDER where ORDER_NO IN ()
&lt;BR /&gt;and according this file "ORDER_NO_LIST.txt" :
&lt;BR /&gt;123456
&lt;BR /&gt;456789
&lt;BR /&gt;How can i pass the list of values from the ORDER_NO_LIST.txt to the IN() clause of the SQL query ?
&lt;BR /&gt;Thx for your help !</description>
      <pubDate>Sat, 16 Nov 2024 14:00:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-IN-Clause-from-a-list-a-value-in-a-file/m-p/2339005#M107193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: SQL IN() Clause from a list a value in a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-IN-Clause-from-a-list-a-value-in-a-file/m-p/2339006#M107194</link>
      <description>Hi varior,&lt;BR /&gt;There are many different ways to do this and I believe it depends on the volume of data you'll be processing.&lt;BR /&gt;You could set up a tOracleInput for your Oracle connection and then a tFileDelimited for ORDER_NO_LIST.txt as a lookup into a tMap.  Turn on inner join and you'll get the matches.&lt;BR /&gt;Second option is to pre-process ORDER_NO_LIST.txt using a tJavaRow/tPerlRow to create a string that looks like "123456,456789" and store it in global or context variable.  Then do a OnSubJobOK connector to your tOracleInput where the query would look something like (in pseudocode):&lt;BR /&gt;"select * from ORDER where ORDER_NO IN (" + context.orderlistnostring + ")"&lt;BR /&gt;Either of these options will work.&lt;BR /&gt;Cheers,&lt;BR /&gt;c0utta</description>
      <pubDate>Tue, 07 Apr 2009 00:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-IN-Clause-from-a-list-a-value-in-a-file/m-p/2339006#M107194</guid>
      <dc:creator>c0utta</dc:creator>
      <dc:date>2009-04-07T00:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: SQL IN() Clause from a list a value in a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-IN-Clause-from-a-list-a-value-in-a-file/m-p/2339007#M107195</link>
      <description>Thanks c0utta for your reply.&lt;BR /&gt;Option 1 : if the query returns a big volume of data, can you confirm that the whole flow is processed by the tMap ?&lt;BR /&gt;I mean, if the query returns 10.000 lines, all the lines are "downloaded" and then passed to the tMap for applying the filter ?&lt;BR /&gt;&lt;BR /&gt;Thx</description>
      <pubDate>Tue, 07 Apr 2009 20:29:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-IN-Clause-from-a-list-a-value-in-a-file/m-p/2339007#M107195</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-04-07T20:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: SQL IN() Clause from a list a value in a file</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-IN-Clause-from-a-list-a-value-in-a-file/m-p/2339008#M107196</link>
      <description>Hi varior, 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;..can you confirm that the whole flow is processed by the tMap&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Yes, that is my understanding. I have seen that the new milestone release allows a dynamic inner join, but I haven't tried it myself ( 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCoapCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Design-and-Development/tMap-with-dynamic-sql-lookup/td-p/95658&lt;/A&gt;) 
&lt;BR /&gt;Cheers, 
&lt;BR /&gt;c0utta</description>
      <pubDate>Wed, 08 Apr 2009 07:30:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-IN-Clause-from-a-list-a-value-in-a-file/m-p/2339008#M107196</guid>
      <dc:creator>c0utta</dc:creator>
      <dc:date>2009-04-08T07:30:34Z</dc:date>
    </item>
  </channel>
</rss>

