<?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: insert/Update data into DB in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/insert-Update-data-into-DB/m-p/2228432#M19707</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can, but it would be incredibly inefficient. you need to structure the job something like:&lt;BR /&gt;&lt;BR /&gt;tFileInput Delimited -&amp;gt; tFlowToIterate -&amp;gt; tDBRow&lt;BR /&gt;&lt;BR /&gt;Your tDBRow component will need to reference the globalMap variables create between the file input and flow to iterate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Jun 2020 11:08:18 GMT</pubDate>
    <dc:creator>David_Beaty</dc:creator>
    <dc:date>2020-06-22T11:08:18Z</dc:date>
    <item>
      <title>insert/Update data into DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-Update-data-into-DB/m-p/2228429#M19704</link>
      <description>&lt;P&gt;I am new to talend world and trying learn the flow of data.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a customer csv file which i need to load into a postgresql db. I could have done this with tdboutput component but wanted to do this using insert query.&lt;/P&gt;&lt;P&gt;So I am using 2 components.&amp;nbsp;&lt;/P&gt;&lt;P&gt;tfileinputdelimited -&amp;gt; tdbrow.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used this query in my tdbrow component:&lt;/P&gt;&lt;P&gt;"INSERT INTO customers (cust_id, cust_name, cust_lname, cust_email, cust_city, cust_type) values&lt;BR /&gt;(row1.Cust_ID, row1.Cust_Fname, row1.Cust_Lname, row1.Cust_Email, row1.Cust_City, row1.Cust_Type)"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the error I am getting:&lt;/P&gt;&lt;P&gt;Exception in component tDBRow_1 (insertjb)&lt;BR /&gt;org.postgresql.util.PSQLException: ERROR: missing FROM-clause entry for table "row1"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 02:06:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-Update-data-into-DB/m-p/2228429#M19704</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T02:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: insert/Update data into DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-Update-data-into-DB/m-p/2228430#M19705</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LRIaAAO"&gt;@bunty_rsr&lt;/A&gt;&amp;nbsp;,you need to design the job below way and the key should be a check on&amp;nbsp;&lt;SPAN&gt;cust_id. in the schema of tdbioutput.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Untitled.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ma9N.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/140165i17E1971CD74C20AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ma9N.png" alt="0683p000009Ma9N.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 06:03:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-Update-data-into-DB/m-p/2228430#M19705</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-06-22T06:03:15Z</dc:date>
    </item>
    <item>
      <title>Re: insert/Update data into DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-Update-data-into-DB/m-p/2228431#M19706</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKmJAAW"&gt;@manodwhb&lt;/A&gt;&amp;nbsp;Thank you. We can do it this way.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;But is there a way that we can use sql query as I asked in my original post using tdbrow component?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 10:00:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-Update-data-into-DB/m-p/2228431#M19706</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-06-22T10:00:09Z</dc:date>
    </item>
    <item>
      <title>Re: insert/Update data into DB</title>
      <link>https://community.qlik.com/t5/Talend-Studio/insert-Update-data-into-DB/m-p/2228432#M19707</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can, but it would be incredibly inefficient. you need to structure the job something like:&lt;BR /&gt;&lt;BR /&gt;tFileInput Delimited -&amp;gt; tFlowToIterate -&amp;gt; tDBRow&lt;BR /&gt;&lt;BR /&gt;Your tDBRow component will need to reference the globalMap variables create between the file input and flow to iterate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Jun 2020 11:08:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/insert-Update-data-into-DB/m-p/2228432#M19707</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2020-06-22T11:08:18Z</dc:date>
    </item>
  </channel>
</rss>

