<?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: Parameterized queries, how to do them. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213697#M10862</link>
    <description>Hi, 
&lt;BR /&gt;I have a parametrized query to be used for tpostgressqlInput component.Can anyone please help me in this regard.</description>
    <pubDate>Sat, 16 Jan 2016 07:10:47 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2016-01-16T07:10:47Z</dc:date>
    <item>
      <title>Parameterized queries, how to do them.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213691#M10856</link>
      <description>I have been working with Talend 5.4.x for about 3 weeks now, awesome tool. 
&lt;BR /&gt;I have the need to execute a query that will return to me a result set of rows containing (person id, person name, person address, person invoice) for several hundred row per week. 
&lt;BR /&gt;I would like to then use the data from the result set in "where" clauses of 12 additional queries in order to create 12 data files for a customer. 
&lt;BR /&gt;I am use to using parameterized queries where a "?" is used as a place holder for a prepared select statement. 
&lt;BR /&gt;How do I accomplish something similar to parameterized queries in Talend? At a minimum I figure each of the 12 data file queries would be a subjob. 
&lt;BR /&gt;Thoughts? 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Peter</description>
      <pubDate>Tue, 07 Jan 2014 23:27:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213691#M10856</guid>
      <dc:creator>PD2</dc:creator>
      <dc:date>2014-01-07T23:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Parameterized queries, how to do them.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213692#M10857</link>
      <description>Hi, &lt;BR /&gt;From your requirement, please check the component &lt;A href="https://help.talend.com/search/all?query=tMysqlRow&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:tMysqlRow&lt;/A&gt; with related scenario.&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Wed, 08 Jan 2014 02:55:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213692#M10857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-08T02:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Parameterized queries, how to do them.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213693#M10858</link>
      <description>Dear Peter, 
&lt;BR /&gt;If I'm not wrong you want to use the results of your main query as a sub query resultset / condition to your 12 additional queries? 
&lt;BR /&gt;Why don't you use tMap and try joining your main query and to these 12 different queries? 
&lt;BR /&gt;You can also store your main query result in tHashMap (input and output) components, kind of temporary table. 
&lt;BR /&gt;Parameterised query is possible assigning variables to your query component, so if you are talking about 100 rows from your main query, then you are bound to iterate 100 times to get your result? 
&lt;BR /&gt;Hope this helps. 
&lt;BR /&gt;G</description>
      <pubDate>Wed, 08 Jan 2014 11:12:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213693#M10858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-08T11:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: Parameterized queries, how to do them.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213694#M10859</link>
      <description>you could also:
&lt;BR /&gt;tMysqlRow
&lt;BR /&gt; -&amp;gt; tFlowToIterate
&lt;BR /&gt; -&amp;gt; tMysqlRow (with parameter from 1st query)
&lt;BR /&gt; -&amp;gt; tOutputFile***</description>
      <pubDate>Wed, 08 Jan 2014 12:00:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213694#M10859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-01-08T12:00:02Z</dc:date>
    </item>
    <item>
      <title>Re: Parameterized queries, how to do them.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213695#M10860</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Dear Peter,&lt;BR /&gt;If I'm not wrong you want to use the results of your main query as a sub query resultset / condition to your 12 additional queries?&lt;BR /&gt;Why don't you use tMap and try joining your main query and to these 12 different queries?&lt;BR /&gt;You can also store your main query result in tHashMap (input and output) components, kind of temporary table.&lt;BR /&gt;Parameterised query is possible assigning variables to your query component, so if you are talking about 100 rows from your main query, then you are bound to iterate 100 times to get your result?&lt;BR /&gt;Hope this helps.&lt;BR /&gt;G&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;G, 
&lt;BR /&gt;I don't disagree with your idea but I am porting the SQL from Pentaho and I would rather let the database crank on the complicated SQL (SQL with outer joins, SQL subselects with outer joins on numerous table etc..). 
&lt;BR /&gt;I have and extensive SQL back round and I would rather let the SQL/Database do the work than try to do manipulations in Talend/Java. 
&lt;BR /&gt;Thanks 
&lt;BR /&gt;Peter</description>
      <pubDate>Wed, 08 Jan 2014 13:58:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213695#M10860</guid>
      <dc:creator>PD2</dc:creator>
      <dc:date>2014-01-08T13:58:29Z</dc:date>
    </item>
    <item>
      <title>Re: Parameterized queries, how to do them.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213696#M10861</link>
      <description>Well I have my parameterized parameterized</description>
      <pubDate>Sat, 11 Jan 2014 14:26:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213696#M10861</guid>
      <dc:creator>PD2</dc:creator>
      <dc:date>2014-01-11T14:26:53Z</dc:date>
    </item>
    <item>
      <title>Re: Parameterized queries, how to do them.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213697#M10862</link>
      <description>Hi, 
&lt;BR /&gt;I have a parametrized query to be used for tpostgressqlInput component.Can anyone please help me in this regard.</description>
      <pubDate>Sat, 16 Jan 2016 07:10:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213697#M10862</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2016-01-16T07:10:47Z</dc:date>
    </item>
    <item>
      <title>Re: Parameterized queries, how to do them.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213698#M10863</link>
      <description>Hi Anj,
&lt;BR /&gt;What does&amp;nbsp;your parametrized query look like?
&lt;BR /&gt;Best regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Mon, 18 Jan 2016 08:15:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Parameterized-queries-how-to-do-them/m-p/2213698#M10863</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-01-18T08:15:36Z</dc:date>
    </item>
  </channel>
</rss>

