<?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 Query with parameters in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350007#M116909</link>
    <description>Hello 
&lt;BR /&gt;tFileInputDelimited--row1--tFlowToIterated--iterate--tJavaDBInput---tLogRow
&lt;BR /&gt;on tJavaDBInput, type in the sql as:
&lt;BR /&gt;"select COUNT(*) from APPLICATIONFRC where APPLICATIONNAME ="+(String)globalMap.get("row1.columnName1")+" and APPLICATIONVERSION ="+(String)globalMap.get("row1.columnName2")
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
    <pubDate>Fri, 09 Apr 2010 08:52:08 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2010-04-09T08:52:08Z</dc:date>
    <item>
      <title>SQL Query with parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350006#M116908</link>
      <description>Hi, 
&lt;BR /&gt;I create SQL query with parameters :
&lt;BR /&gt;"select COUNT(*) from APPLICATIONFRC where APPLICATIONNAME = ? and APPLICATIONVERSION = ?"
&lt;BR /&gt;How to pass parameters in tJavaDBInput with this query ?
&lt;BR /&gt;tJavaDBInput do not accept row line, only iterate.
&lt;BR /&gt;
&lt;BR /&gt;cdt,
&lt;BR /&gt;Arnaud</description>
      <pubDate>Sat, 16 Nov 2024 13:28:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350006#M116908</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:28:07Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query with parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350007#M116909</link>
      <description>Hello 
&lt;BR /&gt;tFileInputDelimited--row1--tFlowToIterated--iterate--tJavaDBInput---tLogRow
&lt;BR /&gt;on tJavaDBInput, type in the sql as:
&lt;BR /&gt;"select COUNT(*) from APPLICATIONFRC where APPLICATIONNAME ="+(String)globalMap.get("row1.columnName1")+" and APPLICATIONVERSION ="+(String)globalMap.get("row1.columnName2")
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 09 Apr 2010 08:52:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350007#M116909</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-09T08:52:08Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query with parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350008#M116910</link>
      <description>I know this solution but you cant use it with query defined in "DB connections&amp;gt;Queries" because query is  generic and you dont know the name of flow.</description>
      <pubDate>Fri, 09 Apr 2010 09:17:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350008#M116910</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-09T09:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query with parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350009#M116911</link>
      <description>Hello 
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;"DB connections&amp;gt;Queries" because query is generic and you dont know the name of flow.&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;If you use the query from repository, you can change the query type from repository to built-in and edit the query.
&lt;BR /&gt;Best regards
&lt;BR /&gt;Shong</description>
      <pubDate>Fri, 09 Apr 2010 13:45:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350009#M116911</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-09T13:45:17Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query with parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350010#M116912</link>
      <description>Then there are no component to use Queries in repository with parameters like tMap ? its maybe a suggest, a new component for the futur</description>
      <pubDate>Fri, 09 Apr 2010 14:52:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350010#M116912</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-09T14:52:04Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query with parameters</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350011#M116913</link>
      <description>Yeah, I agree, parametrizable queries would be a very welcomed and good feature in Talend, instead of going old-school with java string concatenation and escaping...
&lt;BR /&gt;ie. a feature to accept queries that can use context or talend var seamlessly would be very good and provide clean syntax, ie.
&lt;BR /&gt;
&lt;BR /&gt;"select field1, field2 from mytable where field1 = {context.var1} and field2 = {context.var2}"
&lt;BR /&gt;
&lt;BR /&gt;I think would be easy to implement Talend side given the possibility to use very well known templating opensource engine like Freemarker.</description>
      <pubDate>Sat, 10 Apr 2010 12:34:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Query-with-parameters/m-p/2350011#M116913</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-10T12:34:55Z</dc:date>
    </item>
  </channel>
</rss>

