<?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: How insert file name into MySQL table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-insert-file-name-into-MySQL-table/m-p/2280536#M55359</link>
    <description>Hi,&lt;BR /&gt;Take a look at these two blog posts.  The first one describes a file processing loop&lt;BR /&gt;&lt;A href="http://bekwam.blogspot.com/2011/02/staging-data-for-etl-processing-with.html" rel="nofollow noopener noreferrer"&gt;http://bekwam.blogspot.com/2011/02/staging-data-for-etl-processing-with.html&lt;/A&gt;&lt;BR /&gt;This one shows how to use tFileList with a DATA_DIR directory specified as a context variable&lt;BR /&gt;&lt;A href="http://bekwam.blogspot.com/2011/02/excel-workbook-processing-with-talend.html" rel="nofollow noopener noreferrer"&gt;http://bekwam.blogspot.com/2011/02/excel-workbook-processing-with-talend.html&lt;/A&gt;&lt;BR /&gt;-Carl</description>
    <pubDate>Fri, 06 May 2011 21:11:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-05-06T21:11:33Z</dc:date>
    <item>
      <title>How insert file name into MySQL table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-insert-file-name-into-MySQL-table/m-p/2280535#M55358</link>
      <description>Hello there! 
&lt;BR /&gt;I think I have a simple question but I'm not managing to get this done. I've also researched on how to make it but couldn't find the answer so I hope you can help me 
&lt;BR /&gt;I have the following task: 
&lt;BR /&gt;In a directory I have like 200 text files that I read using a tFileList component. This data is sent to a tFileInputDelimited that parses the columns that I need (like info of the customers, when they bought stuff, what they bought and so on). 
&lt;BR /&gt;Finally, I save this data into a table from a mysql server. What I also need to do now is to save 2 more data into this table, and it's the name of the file where the processed row came from and in which row from the file it was read. 
&lt;BR /&gt;So for instance, if I have a file1.txt, I need to save in a column 'NameofFile' the name 'file1', and also if it's on the third row I need to save in the column 'RowCount' the number 3 and so on. 
&lt;BR /&gt;As I'm still learning Talend I don't know how to get this done. Is it possible to make this task? 
&lt;BR /&gt;Thanks very much in advance! 
&lt;BR /&gt;Willian</description>
      <pubDate>Sat, 16 Nov 2024 12:56:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-insert-file-name-into-MySQL-table/m-p/2280535#M55358</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T12:56:11Z</dc:date>
    </item>
    <item>
      <title>Re: How insert file name into MySQL table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-insert-file-name-into-MySQL-table/m-p/2280536#M55359</link>
      <description>Hi,&lt;BR /&gt;Take a look at these two blog posts.  The first one describes a file processing loop&lt;BR /&gt;&lt;A href="http://bekwam.blogspot.com/2011/02/staging-data-for-etl-processing-with.html" rel="nofollow noopener noreferrer"&gt;http://bekwam.blogspot.com/2011/02/staging-data-for-etl-processing-with.html&lt;/A&gt;&lt;BR /&gt;This one shows how to use tFileList with a DATA_DIR directory specified as a context variable&lt;BR /&gt;&lt;A href="http://bekwam.blogspot.com/2011/02/excel-workbook-processing-with-talend.html" rel="nofollow noopener noreferrer"&gt;http://bekwam.blogspot.com/2011/02/excel-workbook-processing-with-talend.html&lt;/A&gt;&lt;BR /&gt;-Carl</description>
      <pubDate>Fri, 06 May 2011 21:11:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-insert-file-name-into-MySQL-table/m-p/2280536#M55359</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-06T21:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: How insert file name into MySQL table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-insert-file-name-into-MySQL-table/m-p/2280537#M55360</link>
      <description>Also, this post shows how to use a row counter&lt;BR /&gt;&lt;A href="http://bekwam.blogspot.com/2011/05/running-count-in-talend-open-studio.html" rel="nofollow noopener noreferrer"&gt;http://bekwam.blogspot.com/2011/05/running-count-in-talend-open-studio.html&lt;/A&gt;</description>
      <pubDate>Fri, 06 May 2011 21:12:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-insert-file-name-into-MySQL-table/m-p/2280537#M55360</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-05-06T21:12:50Z</dc:date>
    </item>
  </channel>
</rss>

