<?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: Excel output from multiple SQL databases in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259848#M41191</link>
    <description>&lt;P&gt;You can't connect them because they have the same source. In Talend you can't connect flows from the same origin to avoid circles.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What are you using the tFileInputExcel_2 for? Are you using data from it for the SQL-Queries?&lt;/P&gt; 
&lt;P&gt;Then it is a bit more difficult. To avoid a common source I would use two jobs.&lt;/P&gt; 
&lt;P&gt;- In the main&amp;nbsp;job you can get the relevant data from Excel and pass it&amp;nbsp;to the second&amp;nbsp;job (tRunJob-Component in DataFlow, you can pass the whole context with a Checkbox and add specific Parameters from the flow to a context-variable in the subjob in the grid context-variables).&lt;/P&gt; 
&lt;P&gt;- In the child-job you can then select the data from you two databases (just copy your components, both have no in-flows or events). Then you can connect them to tunite.&lt;/P&gt; 
&lt;P&gt;- If you Need the data in the main job, you can pass it to "tBufferOutput" in the child-job. In the main-job you have to activate the Option "propagate the child result to the output schema" from the advanced settings of the tRunJob&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MainJob.png" style="width: 954px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M386.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138015i8CD7158B7F0BE4AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M386.png" alt="0683p000009M386.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChildJob.png" style="width: 946px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M38B.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136836i8002477328FF8E89/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M38B.png" alt="0683p000009M38B.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MainJob2.png" style="width: 861px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2iF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151229i865865C729CE8C42/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2iF.png" alt="0683p000009M2iF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Feb 2019 21:16:57 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-02-14T21:16:57Z</dc:date>
    <item>
      <title>Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259840#M41183</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm very new to Talend (was using FME), and here's my problem.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm reading&amp;nbsp; datas from different databases, and to help users to realise some QCs, I have to push those datas on an excel file.&lt;/P&gt;
&lt;P&gt;I've already done that with talend, but to improve their QCs, I would like to present my excel file like that :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;TABLE&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD&gt;Column1&lt;/TD&gt;
&lt;TD&gt;Column2&lt;/TD&gt;
&lt;TD&gt;Column3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Obj1Attr1FromDb1&lt;/TD&gt;
&lt;TD&gt;Obj1Attr2FromDb1&lt;/TD&gt;
&lt;TD&gt;Obj1Attr3FromDb1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Obj1Attr1FromDb2&lt;/TD&gt;
&lt;TD&gt;Obj1Attr2FromDb2&lt;/TD&gt;
&lt;TD&gt;Obj1Attr3FromDb2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Obj1Attr1FromDb3&lt;/TD&gt;
&lt;TD&gt;Obj1Attr2FromDb3&lt;/TD&gt;
&lt;TD&gt;Obj1Attr3FromDb3&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Obj2Attr1FromDb1&lt;/TD&gt;
&lt;TD&gt;Obj2Attr2FromDb1&lt;/TD&gt;
&lt;TD&gt;Obj2Attr3FromDb1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Obj2Attr1FromDb2&lt;/TD&gt;
&lt;TD&gt;Obj2Attr2FromDb2&lt;/TD&gt;
&lt;TD&gt;Obj2Attr3FromDb2&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;Obj2Attr1FromDb3&lt;/TD&gt;
&lt;TD&gt;Obj2Attr2FromDb3&lt;/TD&gt;
&lt;TD&gt;Obj2Attr3FromDb3&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Can someone help me to find the procedure with talend to present datas like that ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks by advance,&lt;/P&gt;
&lt;P&gt;Slop&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 15:41:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259840#M41183</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-12T15:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259841#M41184</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;We cannot help you if we do not know the actual format of your data.&lt;/P&gt;&lt;P&gt;Did you mean row to columns?&lt;/P&gt;&lt;P&gt;Or something else?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 16:39:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259841#M41184</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-02-12T16:39:32Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259842#M41185</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have the same schema in all three DBInputs, you can build one flow of them using the tUnite-Component. I suppose you have the attributes already in columns?&lt;/P&gt;&lt;P&gt;If there are not already columns you can sort by, you can add pseudo columns before joining the flows. I would do it in the SQL-Statement. You can do that in a tMap.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My Suggestion:&lt;/P&gt;&lt;P&gt;- DBInput1 (Obj1, Attr1, Attr2, Attr3, "DB1") --&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ----&amp;gt; tUnite ----&amp;gt; tSortRow (Object, DB) ---&amp;gt; tFilterColumns&amp;nbsp;---&amp;gt; tFileOutputExcel&lt;/P&gt;&lt;P&gt;- DBInput1 (Obj1, Attr1, Attr2, Attr3, "DB2") --&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Feb 2019 17:50:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259842#M41185</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-12T17:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259843#M41186</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for your reply, yes the attributs are already in columns. But schema is not the same for all DbInputs.&lt;/P&gt;
&lt;P&gt;Currently, I've one sheet per database, and I would like to aggregate that in one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 07:50:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259843#M41186</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-13T07:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259844#M41187</link>
      <description>first use tMap to format all your sourses on the same format.&lt;BR /&gt;then merge all of them using tUnite.&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Feb 2019 09:29:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259844#M41187</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-02-13T09:29:17Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259845#M41188</link>
      <description>&lt;P&gt;These configure database SQL Server instance that hosts the database which contains the data.In&lt;SPAN&gt;&amp;nbsp;this demo, I am connecting to a SQL instance using Windows authentication as my authentication type and connecting to the server. &lt;A href="https://www.dissertationplanet.co.uk/" target="_self" rel="nofollow noopener noreferrer"&gt;MBA Dissertation Writing&amp;nbsp;Help&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Feb 2019 13:22:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259845#M41188</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-13T13:22:50Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259846#M41189</link>
      <description>and then?&lt;BR /&gt;</description>
      <pubDate>Wed, 13 Feb 2019 15:09:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259846#M41189</guid>
      <dc:creator>fdenis</dc:creator>
      <dc:date>2019-02-13T15:09:10Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259847#M41190</link>
      <description>&lt;P&gt;So, I've done what you suggest, here's my workflow :&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="WF-1.JPG" style="width: 743px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M37w.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/137299i619C3AE8DB1A100B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M37w.jpg" alt="0683p000009M37w.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;But I can't connect both lines on a tUnit (the schema is now identical for db1&amp;amp;db2).&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 15:27:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259847#M41190</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-14T15:27:42Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259848#M41191</link>
      <description>&lt;P&gt;You can't connect them because they have the same source. In Talend you can't connect flows from the same origin to avoid circles.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;What are you using the tFileInputExcel_2 for? Are you using data from it for the SQL-Queries?&lt;/P&gt; 
&lt;P&gt;Then it is a bit more difficult. To avoid a common source I would use two jobs.&lt;/P&gt; 
&lt;P&gt;- In the main&amp;nbsp;job you can get the relevant data from Excel and pass it&amp;nbsp;to the second&amp;nbsp;job (tRunJob-Component in DataFlow, you can pass the whole context with a Checkbox and add specific Parameters from the flow to a context-variable in the subjob in the grid context-variables).&lt;/P&gt; 
&lt;P&gt;- In the child-job you can then select the data from you two databases (just copy your components, both have no in-flows or events). Then you can connect them to tunite.&lt;/P&gt; 
&lt;P&gt;- If you Need the data in the main job, you can pass it to "tBufferOutput" in the child-job. In the main-job you have to activate the Option "propagate the child result to the output schema" from the advanced settings of the tRunJob&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MainJob.png" style="width: 954px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M386.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138015i8CD7158B7F0BE4AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M386.png" alt="0683p000009M386.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ChildJob.png" style="width: 946px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M38B.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136836i8002477328FF8E89/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M38B.png" alt="0683p000009M38B.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MainJob2.png" style="width: 861px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2iF.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151229i865865C729CE8C42/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2iF.png" alt="0683p000009M2iF.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Feb 2019 21:16:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259848#M41191</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-14T21:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259849#M41192</link>
      <description>&lt;P&gt;Yes I'm using tFileInput for SqlQueries (end users specified id of object they want to QC on it).&lt;/P&gt;&lt;P&gt;I'll try to make you're solution and let you know the results.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Feb 2019 08:44:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259849#M41192</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-15T08:44:54Z</dc:date>
    </item>
    <item>
      <title>Re: Excel output from multiple SQL databases</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259850#M41193</link>
      <description>Hi,
&lt;BR /&gt;So I've applied your suggestion and it worked perfectly.
&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Mon, 18 Feb 2019 14:36:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Excel-output-from-multiple-SQL-databases/m-p/2259850#M41193</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-02-18T14:36:38Z</dc:date>
    </item>
  </channel>
</rss>

