<?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: DB input/ tDBRow components to run queries - Best practices in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/DB-input-tDBRow-components-to-run-queries-Best-practices/m-p/2267220#M46182</link>
    <description>We don't have any documents for this leer me try to get if we have.</description>
    <pubDate>Wed, 25 Mar 2020 15:10:15 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2020-03-25T15:10:15Z</dc:date>
    <item>
      <title>DB input/ tDBRow components to run queries - Best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-input-tDBRow-components-to-run-queries-Best-practices/m-p/2267219#M46181</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If I have to do an ETL job wih a few transformations(filters, joins, aggregates ...), is it a good practice to do everything using SQL script in the query of the DB input?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I mean, have a job with only DBInput -&amp;gt; DBOutput and in the query of the input include a big query with all the transformations needed. for example:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"select a.a1,a.a2, b.1,sum(b.b2) as b2 from a, b where a.a1 = b.a1 and a.a3 = 'xx' group by 1,2,3;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Other similar approach would be using directly a tDBrow inc ase both input and output are part of same database:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;"insert into c (select a.a1,a.a2, b.1,sum(b.b2) as b2 from a, b where a.a1 = b.a1 and a.a3 = 'xx' group by 1,2,3&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;"&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I think none of this options are good practice but I have not seen it in any Talend paper or documentation.This is not flexible and all the good things of using an ETL tool are not used. Otherwise, why would you use Talend Studio? You can directly run the SQL query in your database using an external scheduler.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Can you share any Talend documention where these type of best practices are included?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks,&lt;/P&gt; 
&lt;P&gt;Aldi&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:53:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-input-tDBRow-components-to-run-queries-Best-practices/m-p/2267219#M46181</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:53:21Z</dc:date>
    </item>
    <item>
      <title>Re: DB input/ tDBRow components to run queries - Best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-input-tDBRow-components-to-run-queries-Best-practices/m-p/2267220#M46182</link>
      <description>We don't have any documents for this leer me try to get if we have.</description>
      <pubDate>Wed, 25 Mar 2020 15:10:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-input-tDBRow-components-to-run-queries-Best-practices/m-p/2267220#M46182</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-03-25T15:10:15Z</dc:date>
    </item>
    <item>
      <title>Re: DB input/ tDBRow components to run queries - Best practices</title>
      <link>https://community.qlik.com/t5/Talend-Studio/DB-input-tDBRow-components-to-run-queries-Best-practices/m-p/2267221#M46183</link>
      <description>&lt;P&gt;Thanks for taking a look to my comment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At least, is correct my assumption that this is not a good practice?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 26 Mar 2020 11:34:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/DB-input-tDBRow-components-to-run-queries-Best-practices/m-p/2267221#M46183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-03-26T11:34:00Z</dc:date>
    </item>
  </channel>
</rss>

