<?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 to import data from excel to two (or multiple ) Mysql tables? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-import-data-from-excel-to-two-or-multiple-Mysql-tables/m-p/2234757#M24000</link>
    <description>Hi, linh_060
&lt;BR /&gt;For your first issue, in the component -tMysqloutput, there is a option named "Action on table". Choose the item"Drop table if exists and create" see pic.
&lt;BR /&gt;And for your second issue, we just take into research and give your response sooner.
&lt;BR /&gt;Best Regards
&lt;BR /&gt;Sabrina</description>
    <pubDate>Fri, 12 Oct 2012 02:57:00 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-10-12T02:57:00Z</dc:date>
    <item>
      <title>How to import data from excel to two (or multiple ) Mysql tables?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-import-data-from-excel-to-two-or-multiple-Mysql-tables/m-p/2234756#M23999</link>
      <description>Hi all! The First, I'm sorry because I'm not good English 
&lt;IMG id="smileyvery-happy" class="emoticon emoticon-smileyvery-happy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-very-happy.png" alt="Smiley Very Happy" title="Smiley Very Happy" /&gt;. 
&lt;BR /&gt;I need load data from excel file(itHelp.xlsx) to two Mysql tables (finishedtime and itHelpContent) by tMap. 
&lt;BR /&gt;But finishedtime table and itHelpContent table have a relationship 1-n (Primary key of finishedtime table is Foreign key of itHelpContent table ). 
&lt;BR /&gt;I have two problems need help. 
&lt;BR /&gt;1. I want When load a record from excel to finishedtime table : if record is new --&amp;gt; insert, if not --&amp;gt; skip . How to do it ? 
&lt;BR /&gt;2. When load a new record to finishedtime table, it'll have a FinishedTimeID ( auto increment). How to insert this FinishedTimeID to itHelpContent table (Foreign Key) ? 
&lt;BR /&gt;Thanks every body so much ! 
&lt;IMG id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt; 
&lt;BR /&gt;image : 
&lt;A href="http://i277.photobucket.com/albums/kk42/linh_060/tMap.png" target="_blank" rel="nofollow noopener noreferrer"&gt;http://i277.photobucket.com/albums/kk42/linh_060/tMap.png&lt;/A&gt; 
&lt;BR /&gt;Sorry, i can't upload image 
&lt;IMG id="smileysad" class="emoticon emoticon-smileysad" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;</description>
      <pubDate>Thu, 11 Oct 2012 18:22:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-import-data-from-excel-to-two-or-multiple-Mysql-tables/m-p/2234756#M23999</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-11T18:22:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to import data from excel to two (or multiple ) Mysql tables?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-import-data-from-excel-to-two-or-multiple-Mysql-tables/m-p/2234757#M24000</link>
      <description>Hi, linh_060
&lt;BR /&gt;For your first issue, in the component -tMysqloutput, there is a option named "Action on table". Choose the item"Drop table if exists and create" see pic.
&lt;BR /&gt;And for your second issue, we just take into research and give your response sooner.
&lt;BR /&gt;Best Regards
&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 12 Oct 2012 02:57:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-import-data-from-excel-to-two-or-multiple-Mysql-tables/m-p/2234757#M24000</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-12T02:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to import data from excel to two (or multiple ) Mysql tables?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-import-data-from-excel-to-two-or-multiple-Mysql-tables/m-p/2234758#M24001</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi, linh_060&lt;BR /&gt;For your first issue, in the component -tMysqloutput, there is a option named "Action on table". Choose the item"Drop table if exists and create" see pic.&lt;BR /&gt;And for your second issue, we just take into research and give your response sooner.&lt;BR /&gt;Best Regards&lt;BR /&gt;Sabrina&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;Hi,Thank Sabrina ! 
&lt;BR /&gt;Issue 1: I done as You guide me. 
&lt;BR /&gt;But it is not true 
&lt;IMG id="smileysad" class="emoticon emoticon-smileysad" src="https://yutwg22796.i.lithium.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;. 
&lt;BR /&gt;If I choose the item "Drop table if exists and create", not only Records are not inserted to finishedtime table but also the auto increment property of FinishedTimeID(primary key) is deleted.</description>
      <pubDate>Sun, 14 Oct 2012 08:32:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-import-data-from-excel-to-two-or-multiple-Mysql-tables/m-p/2234758#M24001</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-14T08:32:53Z</dc:date>
    </item>
  </channel>
</rss>

