<?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 Create one file for each database result. Suggestions in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Create-one-file-for-each-database-result-Suggestions/m-p/2324407#M94116</link>
    <description>&lt;P&gt;&lt;SPAN class=""&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN&gt;What I have to do:&lt;BR /&gt;Get all records from my database table "CFE".&lt;BR /&gt;Create a file for each of the results of my table.&lt;BR /&gt;The name of each file will be different, it is composed of two variables that are obtained from the row of the query.&lt;BR /&gt;The file is an XML, so I need a tMap component to organize the data output.&lt;BR /&gt;&lt;BR /&gt;In this example, it is not included, but you may need to have different XML structures, just add another tMap output.&lt;BR /&gt;&lt;BR /&gt;I created an example without the connection to the database, so you can try it. Attached.&lt;BR /&gt;&lt;BR /&gt;I would like to know if there is any way to make it easier or if I am commenting on a design error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&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="MySQLToIterateFileCustomName.png" style="width: 746px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LxVo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129279iEEEB32D82649F16C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LxVo.png" alt="0683p000009LxVo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 13 May 2018 03:02:20 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-13T03:02:20Z</dc:date>
    <item>
      <title>Create one file for each database result. Suggestions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-one-file-for-each-database-result-Suggestions/m-p/2324407#M94116</link>
      <description>&lt;P&gt;&lt;SPAN class=""&gt;Hi,&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;SPAN class="short_text"&gt;&lt;SPAN&gt;What I have to do:&lt;BR /&gt;Get all records from my database table "CFE".&lt;BR /&gt;Create a file for each of the results of my table.&lt;BR /&gt;The name of each file will be different, it is composed of two variables that are obtained from the row of the query.&lt;BR /&gt;The file is an XML, so I need a tMap component to organize the data output.&lt;BR /&gt;&lt;BR /&gt;In this example, it is not included, but you may need to have different XML structures, just add another tMap output.&lt;BR /&gt;&lt;BR /&gt;I created an example without the connection to the database, so you can try it. Attached.&lt;BR /&gt;&lt;BR /&gt;I would like to know if there is any way to make it easier or if I am commenting on a design error.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&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="MySQLToIterateFileCustomName.png" style="width: 746px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LxVo.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129279iEEEB32D82649F16C/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LxVo.png" alt="0683p000009LxVo.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 May 2018 03:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-one-file-for-each-database-result-Suggestions/m-p/2324407#M94116</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-13T03:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: Create one file for each database result. Suggestions</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-one-file-for-each-database-result-Suggestions/m-p/2324408#M94117</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I just have a small question about your data, are TipoCFE+CFEId unique key in each record? Does it exist several records with the same&amp;nbsp;&lt;SPAN&gt;ipoCFE+&lt;/SPAN&gt;&lt;SPAN&gt;CFEId? if yes, the generated file will be overwritten by the new record.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;Shong&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 31 May 2018 08:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-one-file-for-each-database-result-Suggestions/m-p/2324408#M94117</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-31T08:22:11Z</dc:date>
    </item>
  </channel>
</rss>

