<?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: Need to create table and insert data dynamically based on column values available in other table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Need-to-create-table-and-insert-data-dynamically-based-on-column/m-p/2250620#M34811</link>
    <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQI2AAO"&gt;@KathikVenky&lt;/A&gt;&amp;nbsp;, First you need to take the unique values of ID's and need to iterate with tFlowtoIterate and then read the file then you use filter and filter the value from&amp;nbsp;tFlowtoIterate&amp;nbsp; value and populate dboutput with action of table like create and the table name you need to pass from&amp;nbsp;tFlowtoIterate&amp;nbsp; value .&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2019 13:30:20 GMT</pubDate>
    <dc:creator>manodwhb</dc:creator>
    <dc:date>2019-11-12T13:30:20Z</dc:date>
    <item>
      <title>Need to create table and insert data dynamically based on column values available in other table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-create-table-and-insert-data-dynamically-based-on-column/m-p/2250619#M34810</link>
      <description>&lt;P&gt;Dear Team,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I need to create table and insert record dynamically in my destination table based on data available in a particular column of source table. Could you please share your ideas on developing this kind of talend jobs.&lt;/P&gt; 
&lt;P&gt;Please find below image that show how the source and destination table looks. Thanks in advance&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="DynamicTableForColumnValues.JPG" style="width: 590px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M83V.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/146676i3F4B08583D9F2E6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M83V.jpg" alt="0683p000009M83V.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 12:30:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-create-table-and-insert-data-dynamically-based-on-column/m-p/2250619#M34810</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-11-12T12:30:56Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create table and insert data dynamically based on column values available in other table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-create-table-and-insert-data-dynamically-based-on-column/m-p/2250620#M34811</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQI2AAO"&gt;@KathikVenky&lt;/A&gt;&amp;nbsp;, First you need to take the unique values of ID's and need to iterate with tFlowtoIterate and then read the file then you use filter and filter the value from&amp;nbsp;tFlowtoIterate&amp;nbsp; value and populate dboutput with action of table like create and the table name you need to pass from&amp;nbsp;tFlowtoIterate&amp;nbsp; value .&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2019 13:30:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-create-table-and-insert-data-dynamically-based-on-column/m-p/2250620#M34811</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2019-11-12T13:30:20Z</dc:date>
    </item>
    <item>
      <title>Re: Need to create table and insert data dynamically based on column values available in other table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Need-to-create-table-and-insert-data-dynamically-based-on-column/m-p/2250621#M34812</link>
      <description>&lt;P&gt;Hi Karthik,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DBInput:&lt;/P&gt;&lt;P&gt;SELECT DISTINCT ID FROM sourceDatabase;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DBInput--&amp;gt;tFLowtoIterate:&lt;/P&gt;&lt;P&gt;For Each ID value, iterate the create table and insert actions in the next component.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;DBInput--&amp;gt;tFLowtoIterate--&amp;gt;DBOutput&lt;/P&gt;&lt;P&gt;CREATE TABLE &amp;lt;&amp;lt;ID&amp;gt;&amp;gt;;&lt;/P&gt;&lt;P&gt;INSERT INTO &amp;lt;&amp;lt;ID_**&amp;gt;&amp;gt; SELECT P1,P2,P3,P4 FROM sourceDatabase WHERE ID=**;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good Luck!&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2019 08:40:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Need-to-create-table-and-insert-data-dynamically-based-on-column/m-p/2250621#M34812</guid>
      <dc:creator>Raghuram_Puram</dc:creator>
      <dc:date>2019-11-13T08:40:21Z</dc:date>
    </item>
  </channel>
</rss>

