<?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 tOracleOutput doesn't &amp;quot;Truncate Insert&amp;quot; values into target table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376702#M138779</link>
    <description>Hi All, 
&lt;BR /&gt;I have a problem which is not making me sleep, kindly if any one knows please help me out. I will explain you my situation below 
&lt;BR /&gt;Database 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;racle 11g 
&lt;BR /&gt;Oracle SQl developer:Version 3.1.06 
&lt;BR /&gt;OS:Windows Server 2008 R2 Datacenter 
&lt;BR /&gt;TOS for DI:5.0.1.r74687 
&lt;BR /&gt;Scenario: 
&lt;BR /&gt;It's asimple job but making me not to sleep from last two days, here are the details of the situation 
&lt;BR /&gt;1. I have two Oracle tables one Source and another destination table. I want to move the data from source to target. 
&lt;BR /&gt;2. I have used tOracleInput(Source Table name 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;IM_TIME) and tOracleOutput(Target Table Name:TEMP_DAILY_FINANCE_RPT_CAL). 
&lt;BR /&gt;3. Source table contains many columns but i want only two columns data (time_id (Number), calander_date(Date)). 
&lt;BR /&gt;4. Target table contains only two columns with same column definition as of source table (time_id (Number), calander_date(Date)). 
&lt;BR /&gt;5. In Source table i am using a condition in select statement to retieve data which is part of our business logic, the logic is working correctly and even i am 
&lt;BR /&gt; able to print the output of "Select" statement in tJava component (Testing Purpose). 
&lt;BR /&gt;6. So every thing is fine till here now, so i have given connection to my Target table from Source and i have put "Truncate Insert" in Target table 
&lt;BR /&gt;7. Saved my job and run my job(F6), job gets executed successfully with our errors, which means 
&lt;BR /&gt; as per the job it should Truncate the Target table and insert the output of Select statement in to Target table, but it doesn't happen at all 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; tOracleInput -------&amp;gt; tOracleOutput 
&lt;BR /&gt;I tried to attach the Screen Shots of my job so that it will make you better understand my situation but i think there is problem with uploading images. My all images were below 200KB. I could only attach only one image i had really good images for the above situation explained but this is very embrassing that i could not upload images, since i am not able to upload images i will explain in detail the SQL statement used in Source table (tOracleInput) below, 
&lt;BR /&gt;"SELECT time_id, calendar_date 
&lt;BR /&gt; FROM edw.dim_time 
&lt;BR /&gt; WHERE 
&lt;BR /&gt; calendar_date ='"+TalendDate.formatDate("dd-MMM-yy", TalendDate.addDate(TalendDate.parseDate("dd-MMM-yy HH:mm:ss", 
&lt;BR /&gt; TalendDate.getDate("dd-MMM-yy HH:mm:ss")), -2, "dd"))+"'" 
&lt;BR /&gt; 
&lt;BR /&gt;The above mentioned SQL statement is the one which i use in Source Table(tOracleInput). 
&lt;BR /&gt; 
&lt;BR /&gt;Kindly help me with a solution, please correct me if i am wrong any where. Waiting for reply. 
&lt;BR /&gt;Thanks and Regards, 
&lt;BR /&gt;Pavan</description>
    <pubDate>Fri, 06 Apr 2012 06:17:41 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-04-06T06:17:41Z</dc:date>
    <item>
      <title>tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376702#M138779</link>
      <description>Hi All, 
&lt;BR /&gt;I have a problem which is not making me sleep, kindly if any one knows please help me out. I will explain you my situation below 
&lt;BR /&gt;Database 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA5A.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143082iB236712184B767DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA5A.png" alt="0683p000009MA5A.png" /&gt;&lt;/span&gt;racle 11g 
&lt;BR /&gt;Oracle SQl developer:Version 3.1.06 
&lt;BR /&gt;OS:Windows Server 2008 R2 Datacenter 
&lt;BR /&gt;TOS for DI:5.0.1.r74687 
&lt;BR /&gt;Scenario: 
&lt;BR /&gt;It's asimple job but making me not to sleep from last two days, here are the details of the situation 
&lt;BR /&gt;1. I have two Oracle tables one Source and another destination table. I want to move the data from source to target. 
&lt;BR /&gt;2. I have used tOracleInput(Source Table name 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/133049iD780B7DE0116E4D1/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACJ.png" alt="0683p000009MACJ.png" /&gt;&lt;/span&gt;IM_TIME) and tOracleOutput(Target Table Name:TEMP_DAILY_FINANCE_RPT_CAL). 
&lt;BR /&gt;3. Source table contains many columns but i want only two columns data (time_id (Number), calander_date(Date)). 
&lt;BR /&gt;4. Target table contains only two columns with same column definition as of source table (time_id (Number), calander_date(Date)). 
&lt;BR /&gt;5. In Source table i am using a condition in select statement to retieve data which is part of our business logic, the logic is working correctly and even i am 
&lt;BR /&gt; able to print the output of "Select" statement in tJava component (Testing Purpose). 
&lt;BR /&gt;6. So every thing is fine till here now, so i have given connection to my Target table from Source and i have put "Truncate Insert" in Target table 
&lt;BR /&gt;7. Saved my job and run my job(F6), job gets executed successfully with our errors, which means 
&lt;BR /&gt; as per the job it should Truncate the Target table and insert the output of Select statement in to Target table, but it doesn't happen at all 
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; tOracleInput -------&amp;gt; tOracleOutput 
&lt;BR /&gt;I tried to attach the Screen Shots of my job so that it will make you better understand my situation but i think there is problem with uploading images. My all images were below 200KB. I could only attach only one image i had really good images for the above situation explained but this is very embrassing that i could not upload images, since i am not able to upload images i will explain in detail the SQL statement used in Source table (tOracleInput) below, 
&lt;BR /&gt;"SELECT time_id, calendar_date 
&lt;BR /&gt; FROM edw.dim_time 
&lt;BR /&gt; WHERE 
&lt;BR /&gt; calendar_date ='"+TalendDate.formatDate("dd-MMM-yy", TalendDate.addDate(TalendDate.parseDate("dd-MMM-yy HH:mm:ss", 
&lt;BR /&gt; TalendDate.getDate("dd-MMM-yy HH:mm:ss")), -2, "dd"))+"'" 
&lt;BR /&gt; 
&lt;BR /&gt;The above mentioned SQL statement is the one which i use in Source Table(tOracleInput). 
&lt;BR /&gt; 
&lt;BR /&gt;Kindly help me with a solution, please correct me if i am wrong any where. Waiting for reply. 
&lt;BR /&gt;Thanks and Regards, 
&lt;BR /&gt;Pavan</description>
      <pubDate>Fri, 06 Apr 2012 06:17:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376702#M138779</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T06:17:41Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376703#M138780</link>
      <description>Hi Pavan&lt;BR /&gt;You'd better check this job step by step.&lt;BR /&gt;No.1: Link tOracleInput with tLogRow. Can you see the output rows occur?&lt;BR /&gt;         If the result is 0 row, it means the query is wrong.&lt;BR /&gt;No.2: Code in tJava as follow.&lt;BR /&gt;&lt;PRE&gt;String date=TalendDate.formatDate("dd-MMM-yy", TalendDate.addDate(TalendDate.parseDate("dd-MMM-yy HH:mm:ss",&lt;BR /&gt;TalendDate.getDate("dd-MMM-yy HH:mm:ss")), -2, "dd"));&lt;BR /&gt;System.out.println(date);&lt;/PRE&gt;&lt;BR /&gt;Is this time correct?&lt;BR /&gt;Because the DB is Oracle, you'd better use to_date(), SYSDATE() methods which are predefined in Oracle instead of TalendDate.&lt;BR /&gt;&lt;PRE&gt;trunc(sysdate)-2 &lt;BR /&gt;or&lt;BR /&gt;to_char(sysdate-2,'dd-MMM-yy')&lt;/PRE&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 06 Apr 2012 06:47:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376703#M138780</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T06:47:14Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376704#M138781</link>
      <description>Hi Pedro,
&lt;BR /&gt;Thanks for the quick reply, i tried both things mentioned by you and both are working perfectly and i am getting output when i use tLogrow.
&lt;BR /&gt;I am attaching the image of tLogrow output which i got. But i think you understood my problem the selected values are not getting inserted in target table, first of all the target table itself is not getting truncated
&lt;BR /&gt;Thanks and Regards,
&lt;BR /&gt;Pavan</description>
      <pubDate>Fri, 06 Apr 2012 07:08:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376704#M138781</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T07:08:55Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376705#M138782</link>
      <description>Hi Pavan 
&lt;BR /&gt;Now I think this is your requirement. 
&lt;BR /&gt; 
&lt;PRE&gt;1. I have two Oracle tables one Source and another destination table. I want to move the data from source to target.&lt;BR /&gt;2. I have used tOracleInput(Source Table name:DIM_TIME) and tOracleOutput(Target Table Name:TEMP_DAILY_FINANCE_RPT_CAL).&lt;BR /&gt;3. Source table contains many columns but i want only two columns data (time_id (Number), calander_date(Date)).&lt;BR /&gt;4. Target table contains only two columns with same column definition as of source table (time_id (Number), calander_date(Date)).&lt;/PRE&gt; 
&lt;BR /&gt;Why don't you create a job as follow? 
&lt;BR /&gt;tOracleInput--main--&amp;gt;tFilterColumn--main--&amp;gt;tOracleOutput 
&lt;BR /&gt;The function of tFilterColumn is to get time_id (Number), calander_date(Date) only. 
&lt;BR /&gt;Why do you use "Truncate Table" here? 
&lt;BR /&gt;If you want to do ETL from one Oracle Table to another one, you'd better choose "Create table if not exist". 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 06 Apr 2012 07:30:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376705#M138782</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T07:30:35Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376706#M138783</link>
      <description>Hi Pedro, 
&lt;BR /&gt;you mean to say that instead of using the entire Talend expression, use simply trunc(sysdate)-2 or to_char(sysdate-2,'dd-MMM-yy') pre-defined oracle functions in the select query which i had written in tOracleInput, am i correct? 
&lt;BR /&gt;And coming to your question why Truncate Insert instead of "Create table if not exists" option, the explanation is as follows 
&lt;BR /&gt;The target table definition is already defined and created. I use Truncate Insert because the value which gets inserted in the target table will be used by another tables for updating values. 
&lt;BR /&gt;And thank you for your suggestion to use tFilter, I would rather use tMap where i have control over mapping. 
&lt;BR /&gt;But if this " trunc(sysdate)-2 or to_char(sysdate-2,'dd-MMM-yy')" will work out in place of the Talend stmt which i used in select query that will make my job more easier 
&lt;BR /&gt;What do you suggest? 
&lt;BR /&gt;Thanks and Regards, 
&lt;BR /&gt;Pavan</description>
      <pubDate>Fri, 06 Apr 2012 08:04:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376706#M138783</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T08:04:43Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376707#M138784</link>
      <description>Hi Pavan&lt;BR /&gt;Now forget all the methods about to_date() or TalendDate.&lt;BR /&gt;Please show me the issue you got. A screenshot is preferred.&lt;BR /&gt;Or I may misunderstand your requirement.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 06 Apr 2012 08:25:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376707#M138784</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T08:25:36Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376708#M138785</link>
      <description>Hi Pedro,
&lt;BR /&gt;OK, let me put in single statement, "The job executes perfectly but my purpose of doing that job is not served"
&lt;BR /&gt;After the job gets executed the target table should be truncated and insert the values in the target table based on the select query output
&lt;BR /&gt;I attach image of the output that the target table currently has, the output shows it has one value in the table, so what i want now is if i run my talend job it should truncate the old value and insert new value i.,e TIME_ID:20120403, CALENDAR_DAY:03-APR-2012 00:00:00, but this is not happening
&lt;BR /&gt;Forgive me if my English confuses you, i am sorry for that.
&lt;BR /&gt;Thanks and Regards,
&lt;BR /&gt;Pavan
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi Pavan&lt;BR /&gt;Now forget all the methods about to_date() or TalendDate.&lt;BR /&gt;Please show me the issue you got. A screenshot is preferred.&lt;BR /&gt;Or I may misunderstand your requirement.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 06 Apr 2012 08:41:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376708#M138785</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T08:41:59Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376709#M138786</link>
      <description>Hi Pedro,
&lt;BR /&gt;I tried to attach the image but the system is not accepting. I think now you should be clear with the problem that i am facing which i mentioned below
&lt;BR /&gt;Thanks and Regards,
&lt;BR /&gt;Pavan 
&lt;BR /&gt;
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi Pedro,&lt;BR /&gt;OK, let me put in single statement, "The job executes perfectly but my purpose of doing that job is not served"&lt;BR /&gt;After the job gets executed the target table should be truncated and insert the values in the target table based on the select query output&lt;BR /&gt;I attach image of the output that the target table currently has, the output shows it has one value in the table, so what i want now is if i run my talend job it should truncate the old value and insert new value i.,e TIME_ID:20120403, CALENDAR_DAY:03-APR-2012 00:00:00, but this is not happening&lt;BR /&gt;Forgive me if my English confuses you, i am sorry for that.&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Pavan&lt;BR /&gt;Hi Pavan&lt;BR /&gt;Now forget all the methods about to_date() or TalendDate.&lt;BR /&gt;Please show me the issue you got. A screenshot is preferred.&lt;BR /&gt;Or I may misunderstand your requirement.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;</description>
      <pubDate>Fri, 06 Apr 2012 08:50:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376709#M138786</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T08:50:27Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376710#M138787</link>
      <description>Hi Pavan&lt;BR /&gt;The size of this uploaded image should be less then 1024x768 pixels.&lt;BR /&gt;How many rows in target table before you run the job?&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 06 Apr 2012 09:24:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376710#M138787</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T09:24:29Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376711#M138788</link>
      <description>Hi Pedro,&lt;BR /&gt;The target table at any time contains only one row. Before i run my job also only one row is present, but the values should change after running the job. Here you go with the image attached&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;Hi Pavan&lt;BR /&gt;The size of this uploaded image should be less then 1024x768 pixels.&lt;BR /&gt;How many rows in target table before you run the job?&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 06 Apr 2012 09:30:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376711#M138788</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T09:30:16Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376712#M138789</link>
      <description>Hi&lt;BR /&gt;Got it.&lt;BR /&gt;I think you misunderstood the usage of "Truncate Table".&lt;BR /&gt;Because TIME_ID:20120403, CALENDAR_DAY:03-APR-2012 00:00:00 and TIME_ID:20120404, CALENDAR_DAY:04-APR-2012 00:00:00 are not the same record.&lt;BR /&gt;You'd better choose "Drop and create table" instead of "Truncate Table".&lt;BR /&gt;Here is the usage of Truncate Taleb.&lt;BR /&gt;The data in target table. &lt;BR /&gt;TIME_ID:20120403, CALENDAR_DAY:03-APR-2012 00:00:00&lt;BR /&gt;The date in source table.&lt;BR /&gt;TIME_ID:20120403, CALENDAR_DAY:04-APR-2012 00:00:00&lt;BR /&gt;You will see these two records have the same TIME_ID and different CALENDAR_DAY.&lt;BR /&gt;Then your previous job will work.&lt;BR /&gt;In short, the records in source and target which you want to truncate should own the same key.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 06 Apr 2012 09:47:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376712#M138789</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T09:47:06Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376713#M138790</link>
      <description>&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi&lt;BR /&gt;Got it.&lt;BR /&gt;I think you misunderstood the usage of "Truncate Table".&lt;BR /&gt;Because TIME_ID:20120403, CALENDAR_DAY:03-APR-2012 00:00:00 and TIME_ID:20120404, CALENDAR_DAY:04-APR-2012 00:00:00 are not the same record.&lt;BR /&gt;You'd better choose "Drop and create table" instead of "Truncate Table".&lt;BR /&gt;Here is the usage of Truncate Taleb.&lt;BR /&gt;The data in target table. &lt;BR /&gt;TIME_ID:20120403, CALENDAR_DAY:03-APR-2012 00:00:00&lt;BR /&gt;The date in source table.&lt;BR /&gt;TIME_ID:20120403, CALENDAR_DAY:04-APR-2012 00:00:00&lt;BR /&gt;You will see these two records have the same TIME_ID and different CALENDAR_DAY.&lt;BR /&gt;Then your previous job will work.&lt;BR /&gt;In short, the records in source and target which you want to truncate should own the same key.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;
&lt;BR /&gt;Hi Pedro,
&lt;BR /&gt;This information is useful and makes sense to me, i forgot that the source table is having the primary key on TIME_ID column. I have one more quick question if i use drop and create option for target table will the old structure of the target table be created or the structure of source table will be created?</description>
      <pubDate>Fri, 06 Apr 2012 10:36:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376713#M138790</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T10:36:42Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376714#M138791</link>
      <description>Hi
&lt;BR /&gt;The table will be created based on the schema of tOracleOutput.
&lt;BR /&gt;Always it is the same with the target table.
&lt;BR /&gt;One more thing. Don't forget to type "Length" of each column in tOracleOutput(Image 1).
&lt;BR /&gt;Or you will get error. 
&lt;BR /&gt;Regards,
&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 06 Apr 2012 10:40:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376714#M138791</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T10:40:41Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376715#M138792</link>
      <description>Hi Pedro,
&lt;BR /&gt;Thanks, Thank you very much this information is really useful, sure i will keep in mind to print the length of each column.
&lt;BR /&gt;Have a wonderful day ahead!
&lt;BR /&gt;Thanks and Regards,
&lt;BR /&gt;Pavan
&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;
 &lt;TABLE border="1"&gt;
  &lt;TBODY&gt;
   &lt;TR&gt;
    &lt;TD&gt;Hi&lt;BR /&gt;The table will be created based on the schema of tOracleOutput.&lt;BR /&gt;Always it is the same with the target table.&lt;BR /&gt;One more thing. Don't forget to type "Length" of each column in tOracleOutput. &lt;BR /&gt;Regards,&lt;BR /&gt;Pedro&lt;/TD&gt;
   &lt;/TR&gt;
  &lt;/TBODY&gt;
 &lt;/TABLE&gt;
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 06 Apr 2012 10:46:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376715#M138792</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T10:46:08Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376716#M138793</link>
      <description>Hi Pavan 
&lt;BR /&gt;Glad to help you. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 06 Apr 2012 10:47:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376716#M138793</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T10:47:15Z</dc:date>
    </item>
    <item>
      <title>Re: tOracleOutput doesn't "Truncate Insert" values into target table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376717#M138794</link>
      <description>Hi Pedro, 
&lt;BR /&gt;Can you help me how to run winzip.exe using talend?. I tried to use tFileUnarchive but it doesn't work since my file format is .tar.gz. Do you have any sample job to run winzip.exe using talend. 
&lt;BR /&gt;Thanks and Regards, 
&lt;BR /&gt;Pavan 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hi Pavan&lt;BR /&gt;Glad to help you. &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MA9p.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138034i5F552429DA646D6F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MA9p.png" alt="0683p000009MA9p.png" /&gt;&lt;/span&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 06 Apr 2012 11:16:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tOracleOutput-doesn-t-quot-Truncate-Insert-quot-values-into/m-p/2376717#M138794</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-06T11:16:13Z</dc:date>
    </item>
  </channel>
</rss>

