<?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 how to insert in more than one table at the same time? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371285#M134242</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I need to retrieve some rows from an excel sheet and put the information in two diferent tables.&lt;/P&gt;&lt;P&gt;In my excel sheet I have 4 columns (client, project, begining, end), so the first two columns will go to table project(id_project, fk_client,project_name...)&amp;nbsp; and the other two (begin,end) to project_duration (id_project, begin, end).&lt;/P&gt;&lt;P&gt;My idea was to create a view in the database to get the max ID from project to insert into the duration table.I runned the job and all data was passed to both table, but id_project didn't go to project_duration.&lt;/P&gt;&lt;P&gt;Can anyone help me with a better solution? Thanks!&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2018 20:48:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-20T20:48:31Z</dc:date>
    <item>
      <title>how to insert in more than one table at the same time?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371285#M134242</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I need to retrieve some rows from an excel sheet and put the information in two diferent tables.&lt;/P&gt;&lt;P&gt;In my excel sheet I have 4 columns (client, project, begining, end), so the first two columns will go to table project(id_project, fk_client,project_name...)&amp;nbsp; and the other two (begin,end) to project_duration (id_project, begin, end).&lt;/P&gt;&lt;P&gt;My idea was to create a view in the database to get the max ID from project to insert into the duration table.I runned the job and all data was passed to both table, but id_project didn't go to project_duration.&lt;/P&gt;&lt;P&gt;Can anyone help me with a better solution? Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 20:48:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371285#M134242</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-20T20:48:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to insert in more than one table at the same time?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371286#M134243</link>
      <description>Hi,&lt;BR /&gt;The reason is that lookup tables or views are queried before the Excel file and before the rows are inserted in the target tables.&lt;BR /&gt;In this case you have to insert content into the master table 1rst, then on the next subjob you can go with the views and insert content into the child table.&lt;BR /&gt;Hope this helps.</description>
      <pubDate>Tue, 20 Feb 2018 22:02:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371286#M134243</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-20T22:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: how to insert in more than one table at the same time?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371287#M134244</link>
      <description>&lt;P&gt;if you want to insert max ID of Project into Duration, its pretty obvious you need to load Project table first. In sub job, load duration table from view (giving you max id)&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="max_id.JPG" style="width: 588px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsUd.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129190iD185FB3B6F1DD9C1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsUd.jpg" alt="0683p000009LsUd.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 21 Feb 2018 02:57:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371287#M134244</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-21T02:57:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to insert in more than one table at the same time?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371288#M134245</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMoYAAW"&gt;@isadoralmeida06&lt;/A&gt;,&amp;nbsp;did it help you?&lt;/P&gt;
&lt;P&gt;In this case&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;thank's to&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;mark this case as resolved (Kudos also accepted).&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 08:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371288#M134245</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-23T08:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: how to insert in more than one table at the same time?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371289#M134246</link>
      <description>&lt;P&gt;That's what I was doing it, like I said on the post, that's the ideia I had as shown on the PNG I attached,&amp;nbsp; but it was still putting the wrong ids. Anyways, I got it fixed.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 14:25:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-insert-in-more-than-one-table-at-the-same-time/m-p/2371289#M134246</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-04-06T14:25:55Z</dc:date>
    </item>
  </channel>
</rss>

