<?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: [resolved] integration data from a temporary table to anther table via a proc in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320843#M90939</link>
    <description>I dont think so because the proc insert data in final table !!&lt;BR /&gt;also tha data is big I use toraclebulkexec or toracle row ?</description>
    <pubDate>Mon, 30 Jun 2014 13:30:43 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2014-06-30T13:30:43Z</dc:date>
    <item>
      <title>[resolved] integration data from a temporary table to anther table via a proc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320839#M90935</link>
      <description>hi talend pro, 
&lt;BR /&gt;I would integrate data from a csv file to a temporary table and then transfrom data via a procédure then insert data to another table exple 
&lt;BR /&gt;I have table http_ods 
&lt;BR /&gt;CREATE TABLE KPI.HTTP_ODS 
&lt;BR /&gt;( 
&lt;BR /&gt; HOST VARCHAR2(500 BYTE), 
&lt;BR /&gt; DATE_HTTP DATE, 
&lt;BR /&gt; NBYTEDN INTEGER, 
&lt;BR /&gt; NBSESSTCP INTEGER, 
&lt;BR /&gt; AVG_SYN_SYNACK NUMBER, 
&lt;BR /&gt; AVG_SYNACK_ACK NUMBER, 
&lt;BR /&gt; DELAYREQANS NUMBER, 
&lt;BR /&gt; NBGET INTEGER, 
&lt;BR /&gt; NBPOST INTEGER, 
&lt;BR /&gt; OTHERREQ INTEGER, 
&lt;BR /&gt; NB1XX INTEGER, 
&lt;BR /&gt; NB2XX INTEGER, 
&lt;BR /&gt; NB3XX INTEGER, 
&lt;BR /&gt; NB4XX INTEGER, 
&lt;BR /&gt; NB5XX INTEGER, 
&lt;BR /&gt; NBOTHERANS INTEGER 
&lt;BR /&gt;) 
&lt;BR /&gt;then 
&lt;BR /&gt;I have a procedure 
&lt;BR /&gt;CREATE OR REPLACE procedure KPI.http_modif is 
&lt;BR /&gt;CURSOR c_http is 
&lt;BR /&gt;select 
&lt;BR /&gt; HOST 
&lt;BR /&gt; ,DATE_HTTP 
&lt;BR /&gt; ,NBYTEDN 
&lt;BR /&gt; ,NBSESSTCP 
&lt;BR /&gt; ,kpi.unite_s(AVG_SYN_SYNACK) 
&lt;BR /&gt; ,kpi.unite_s(AVG_SYNACK_ACK) 
&lt;BR /&gt; ,kpi.sum_s(AVG_SYN_SYNACK, AVG_SYNACK_ACK) 
&lt;BR /&gt; ,kpi.unite_s(DELAYREQANS) 
&lt;BR /&gt; ,NBGET 
&lt;BR /&gt; ,NBPOST 
&lt;BR /&gt; ,OTHERREQ 
&lt;BR /&gt; ,NB1XX 
&lt;BR /&gt; ,NB2XX 
&lt;BR /&gt; ,NB3XX 
&lt;BR /&gt; ,NB4XX 
&lt;BR /&gt; ,NB5XX 
&lt;BR /&gt; ,NBOTHERANS 
&lt;BR /&gt;from kpi.http_ods; 
&lt;BR /&gt;TYPE array_http is table of c_http%rowtype; 
&lt;BR /&gt;http_data array_http; 
&lt;BR /&gt;begin 
&lt;BR /&gt;open c_http; 
&lt;BR /&gt; loop 
&lt;BR /&gt; fetch c_http 
&lt;BR /&gt; bulk collect into http_data 
&lt;BR /&gt; limit 1000; 
&lt;BR /&gt; 
&lt;BR /&gt; begin 
&lt;BR /&gt; forall i in 1..http_data.count 
&lt;BR /&gt; insert into kpi.http 
&lt;BR /&gt; values http_data(i); 
&lt;BR /&gt; end; 
&lt;BR /&gt; 
&lt;BR /&gt; exit when c_http%notfound; 
&lt;BR /&gt; end loop; 
&lt;BR /&gt;close c_http; 
&lt;BR /&gt;end; 
&lt;BR /&gt;/ 
&lt;BR /&gt;and table http : 
&lt;BR /&gt;CREATE TABLE KPI.HTTP 
&lt;BR /&gt;( 
&lt;BR /&gt; HOST VARCHAR2(500 BYTE), 
&lt;BR /&gt; DATE_HTTP DATE, 
&lt;BR /&gt; NBYTEDN INTEGER, 
&lt;BR /&gt; NBSESSTCP INTEGER, 
&lt;BR /&gt; AVG_SYN_SYNACK NUMBER, 
&lt;BR /&gt; AVG_SYNACK_ACK NUMBER, 
&lt;BR /&gt; RTT_HTTP NUMBER, 
&lt;BR /&gt; DELAYREQANS NUMBER, 
&lt;BR /&gt; NBGET INTEGER, 
&lt;BR /&gt; NBPOST INTEGER, 
&lt;BR /&gt; OTHERREQ INTEGER, 
&lt;BR /&gt; NB1XX INTEGER, 
&lt;BR /&gt; NB2XX INTEGER, 
&lt;BR /&gt; NB3XX INTEGER, 
&lt;BR /&gt; NB4XX INTEGER, 
&lt;BR /&gt; NB5XX INTEGER, 
&lt;BR /&gt; NBOTHERANS INTEGER 
&lt;BR /&gt;) 
&lt;BR /&gt; 
&lt;BR /&gt;functions: 
&lt;BR /&gt;CREATE OR REPLACE function KPI.unite_s ( x in number ) 
&lt;BR /&gt;return number 
&lt;BR /&gt;is 
&lt;BR /&gt;y number; 
&lt;BR /&gt;begin 
&lt;BR /&gt;y := x / 1000 ; 
&lt;BR /&gt;return y ; 
&lt;BR /&gt;end; 
&lt;BR /&gt;CREATE OR REPLACE function KPI.sum_s ( x in number , y in number ) 
&lt;BR /&gt;return number 
&lt;BR /&gt;is 
&lt;BR /&gt;z number; 
&lt;BR /&gt;begin 
&lt;BR /&gt;z := (x+y) / 1000 ; 
&lt;BR /&gt;return z ; 
&lt;BR /&gt;end; 
&lt;BR /&gt;my sgbd is oracle 
&lt;BR /&gt;so I don't know how do it sad then i would extract date from the name of csv.file to put in date_http 
&lt;BR /&gt;thanks a lot for your help appreciated</description>
      <pubDate>Sat, 16 Nov 2024 11:36:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320839#M90935</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] integration data from a temporary table to anther table via a proc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320840#M90936</link>
      <description>tfileinputdelimited--&amp;gt;tdatabaseoutput (temptable)&lt;BR /&gt;|&lt;BR /&gt;onsubjobok&lt;BR /&gt;|&lt;BR /&gt;tMySQLRow (Call your stored procedure here )&lt;BR /&gt;|&lt;BR /&gt;OnSubJobOk&lt;BR /&gt;|&lt;BR /&gt;tDBInput(temptable)--&amp;gt;tDBOutput (final table)&lt;BR /&gt;Try this..</description>
      <pubDate>Mon, 30 Jun 2014 12:50:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320840#M90936</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-30T12:50:07Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] integration data from a temporary table to anther table via a proc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320841#M90937</link>
      <description>Thanks sanvaibhav for your reply &lt;BR /&gt;tfileinputdelimited--&amp;gt;tdatabaseoutput (temptable) : for insert data of csv file to toracleoutput table temporary via tmap ?&lt;BR /&gt;|&lt;BR /&gt;onsubjobok&lt;BR /&gt;|&lt;BR /&gt;tMySQLRow (Call your stored procedure here )  &lt;BR /&gt;|&lt;BR /&gt;OnSubJobOk&lt;BR /&gt;|&lt;BR /&gt;tDBInput(temptable)--&amp;gt;tDBOutput (final table)  : I dont understand how do that after appel proc , why you met composant tdbinput after you appel temporary table</description>
      <pubDate>Mon, 30 Jun 2014 13:00:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320841#M90937</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-30T13:00:29Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] integration data from a temporary table to anther table via a proc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320842#M90938</link>
      <description>&amp;gt;&amp;gt;&lt;BR /&gt;I dont understand how do that after appel proc , why you met composant tdbinput after you appel temporary table&lt;BR /&gt;Your stored procedure is going to make changes to temp table... After making changes you want to insert that data into the target table, that is the reason tdbInput...&lt;BR /&gt;Vaibhav</description>
      <pubDate>Mon, 30 Jun 2014 13:05:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320842#M90938</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-30T13:05:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] integration data from a temporary table to anther table via a proc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320843#M90939</link>
      <description>I dont think so because the proc insert data in final table !!&lt;BR /&gt;also tha data is big I use toraclebulkexec or toracle row ?</description>
      <pubDate>Mon, 30 Jun 2014 13:30:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320843#M90939</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-06-30T13:30:43Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] integration data from a temporary table to anther table via a proc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320844#M90940</link>
      <description>I dont think so because the proc insert data in final table !!
&lt;BR /&gt;&amp;gt;&amp;gt; you can remove the last step...
&lt;BR /&gt;also tha data is big I use toraclebulkexec or toracle row ?
&lt;BR /&gt;&amp;gt;&amp;gt; Bulk execute is better than toraclerow...
&lt;BR /&gt;But, as said above, if the stored procedure is inserting data, then why do you need bulkexecute or toraclerow?
&lt;BR /&gt;In your first description
&lt;BR /&gt;a csv file to a temporary table and then transform data via a procedure then insert data to another table example
&lt;BR /&gt;&amp;gt;&amp;gt; there is an additional step for inserting data...
&lt;BR /&gt;Note- I have provided guidelines... you can take whatever is suitable, rest you can ignore...
&lt;BR /&gt;Thanks
&lt;BR /&gt;Vaibhav
&lt;BR /&gt;Vaibhav</description>
      <pubDate>Tue, 01 Jul 2014 04:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320844#M90940</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-01T04:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] integration data from a temporary table to anther table via a proc</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320845#M90941</link>
      <description>thanx  for your help Vaibhav</description>
      <pubDate>Tue, 01 Jul 2014 13:40:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-integration-data-from-a-temporary-table-to-anther-table/m-p/2320845#M90941</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-07-01T13:40:02Z</dc:date>
    </item>
  </channel>
</rss>

