<?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: Add a filter in tOracleInput query in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229528#M20447</link>
    <description>&lt;P&gt;Thank you guys.&lt;/P&gt;</description>
    <pubDate>Wed, 22 Aug 2018 09:24:19 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-22T09:24:19Z</dc:date>
    <item>
      <title>Add a filter in tOracleInput query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229525#M20444</link>
      <description>Hi everyone, I want to ask you how to add a filter in tOracleInput query. Example : " select * from table1 where name='blabla'" So how to add the syntax "where name='blabla' dynamically ? Thanks for your responses.</description>
      <pubDate>Wed, 22 Aug 2018 06:54:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229525#M20444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-22T06:54:51Z</dc:date>
    </item>
    <item>
      <title>Re: Add a filter in tOracleInput query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229526#M20445</link>
      <description>&lt;P&gt;The Sql queries in Talend are simply String represented in Java language format. So, to play with them you and build your query dynamically you have to make sure you&amp;nbsp;&lt;SPAN&gt;built a String which will finally represent a legitimate SQL query.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Example :&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;"select * from table1 where name='blabla'"&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;Now if you want to have your WHERE clause to be dynamic and make it pass from context variable you could simply use -&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;"Select * from table1 "&amp;nbsp;+ context.whereclause&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;or if you want to get it from any previous component values&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;"Select * from table1 "&amp;nbsp;+ ((String)globalMap.get("row1.whereclause"))&lt;/PRE&gt;&lt;P&gt;&lt;STRONG&gt;Tip:&lt;/STRONG&gt;&amp;nbsp;B&lt;SPAN&gt;uild your SQL query, output it to the&amp;nbsp;console and then test the String you see in your database. If it works there, it will work in your Talend component.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 08:21:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229526#M20445</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-08-22T08:21:09Z</dc:date>
    </item>
    <item>
      <title>Re: Add a filter in tOracleInput query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229527#M20446</link>
      <description>use context or globalMap variables to store blabla
&lt;BR /&gt;the use java syntax ("select * from table where name=''" + globalMap.get("blablaVariableName")+ "") to write yours query.
&lt;BR /&gt;regards
&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Aug 2018 08:23:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229527#M20446</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-22T08:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: Add a filter in tOracleInput query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229528#M20447</link>
      <description>&lt;P&gt;Thank you guys.&lt;/P&gt;</description>
      <pubDate>Wed, 22 Aug 2018 09:24:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229528#M20447</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-22T09:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Add a filter in tOracleInput query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229529#M20448</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;One day you are going to help me or someone!&lt;BR /&gt;&lt;BR /&gt;you can use kudos to thank.&lt;BR /&gt;you can Tag "solved" to help on same problems.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;</description>
      <pubDate>Wed, 22 Aug 2018 10:21:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Add-a-filter-in-tOracleInput-query/m-p/2229529#M20448</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2018-08-22T10:21:38Z</dc:date>
    </item>
  </channel>
</rss>

