<?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] Always get ora-00984 error when executing in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300916#M73091</link>
    <description>Also I think we need a manual for such questions, like a FAQ. I believe many persons would take it for granted that tOracleOutput would be the owner of such format conversion, and other format involved issues.</description>
    <pubDate>Fri, 13 Apr 2012 07:33:38 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-04-13T07:33:38Z</dc:date>
    <item>
      <title>[resolved] Always get ora-00984 error when executing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300908#M73083</link>
      <description>Hi, all:&lt;BR /&gt;I tried to write data to an oracle DB with tOracleOutput component. Attach is the definition of component.&lt;BR /&gt;However all actions are failed with below error:&lt;BR /&gt;      ORA-00984: column not allowed here&lt;BR /&gt;Below is an output from tLogRow, showing my example data:&lt;BR /&gt;    BUY|BRLUSD173|03/02/2012|03/02/2012|8650000.0|0.0&lt;BR /&gt;Can anyone help to look into this?</description>
      <pubDate>Thu, 12 Apr 2012 13:31:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300908#M73083</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-12T13:31:43Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Always get ora-00984 error when executing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300909#M73084</link>
      <description>Hi,&lt;BR /&gt;Can you upload any image of your job and definition of the components you used in your job, so that it will be easy to understand the problem&lt;BR /&gt;Thanks and Regards,&lt;BR /&gt;Pavan</description>
      <pubDate>Thu, 12 Apr 2012 13:35:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300909#M73084</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-12T13:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Always get ora-00984 error when executing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300910#M73085</link>
      <description>Please see attached images.&lt;BR /&gt;Pic 1 shows the job definition and tOracleOutput Component.&lt;BR /&gt;Pic 2 shows the definition of tConertType&lt;BR /&gt;Pic 3 shows my database table definition.&lt;BR /&gt;Thanks</description>
      <pubDate>Fri, 13 Apr 2012 02:55:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300910#M73085</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-13T02:55:24Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Always get ora-00984 error when executing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300911#M73086</link>
      <description>Hi&lt;BR /&gt;Usually the ORA-00984 error is caused by wrong query.&lt;BR /&gt;Add a tJava in this job and type in the following code.&lt;BR /&gt;&lt;PRE&gt;((String)globalMap.get("tOracleOutput_1_QUERY"))&lt;/PRE&gt;&lt;BR /&gt;Is there anything wrong with this query?&lt;BR /&gt;Or just show it to us.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 13 Apr 2012 03:38:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300911#M73086</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-13T03:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Always get ora-00984 error when executing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300912#M73087</link>
      <description>Hi, Pedro: 
&lt;BR /&gt;I think the problem should related to two Date columns. I did some testing as below: 
&lt;BR /&gt;1. Remove Record_Date and Settle_Date columns from input file. 
&lt;BR /&gt;2. Recursively remove these two columns from subsequent component, that means now INSERT SQL statement would not contain these two columns. 
&lt;BR /&gt;Then it works and I can insert data with the rest four columns. Below I attached the updated definition. 
&lt;BR /&gt;My question is how to output Date type/format data into Oracle db. 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Fri, 13 Apr 2012 05:10:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300912#M73087</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-13T05:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Always get ora-00984 error when executing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300913#M73088</link>
      <description>Hi&lt;BR /&gt;Please send me an email attached this export job.&lt;BR /&gt;I will test it for you. Maybe this is due to data pattern.&lt;BR /&gt;Regards,&lt;BR /&gt;Pedro</description>
      <pubDate>Fri, 13 Apr 2012 06:32:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300913#M73088</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-13T06:32:54Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Always get ora-00984 error when executing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300914#M73089</link>
      <description>Hi, 
&lt;BR /&gt;You can do your job in the below way which i thought would be simple for you to handle 
&lt;BR /&gt; 
&lt;BR /&gt;tFileInputDelimited_1(Main) ----&amp;gt; tMap_1(Main) ----&amp;gt; tOracleOutput_1 
&lt;BR /&gt; 
&lt;BR /&gt;In tMap_1 double click on the component and click auto map, after you click auto map all your input columns will be mapped to your output columns(tOracleOutput_1). After doing this you have to do small changes for the date columns in the right hand side of tMap ie,. tOracleOutput_1, clickon the row1.record_date you will see a edit button, click on it an expression builder will be opened, in that paste the below mentioned expression 
&lt;BR /&gt;TalendDate.formatDate("mm/dd/yyyy", TalendDate.parseDate("MM/DD/YYYY",row1.record_date)) 
&lt;BR /&gt;The same process should be done for row1.settle_date. 
&lt;BR /&gt; 
&lt;BR /&gt;This should work for you, but make sure that you dont have any null values for the any of the columns, if there are null values you need to handle it in different way 
&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;Please see attached images.&lt;BR /&gt;Pic 1 shows the job definition and tOracleOutput Component.&lt;BR /&gt;Pic 2 shows the definition of tConertType&lt;BR /&gt;Pic 3 shows my database table definition.&lt;BR /&gt;Thanks&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Fri, 13 Apr 2012 07:05:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300914#M73089</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-13T07:05:32Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Always get ora-00984 error when executing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300915#M73090</link>
      <description>Hi, Pavan:&lt;BR /&gt;I got your point, and also the design point of talend to oracle db. &lt;BR /&gt;Normally I thought if a column is defined as Date type, then its' the responsibility of tOracleOutput component to convert it in correct format and then write back to DB. Now I realized we have to manually set the output format with a pattern of "yyyy-MM-dd HH:mm:ss", then tOracleOutput component will do  the right thing. Actually Date type is only a type of Talend. When they are output to a special DB, only users know which DB is the destination and what format is the best for such DB. I guess the design is originated from this.&lt;BR /&gt;So the problem is resolved, thanks very much!</description>
      <pubDate>Fri, 13 Apr 2012 07:29:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300915#M73090</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-13T07:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Always get ora-00984 error when executing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300916#M73091</link>
      <description>Also I think we need a manual for such questions, like a FAQ. I believe many persons would take it for granted that tOracleOutput would be the owner of such format conversion, and other format involved issues.</description>
      <pubDate>Fri, 13 Apr 2012 07:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300916#M73091</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-13T07:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Always get ora-00984 error when executing</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300917#M73092</link>
      <description>Hi,
&lt;BR /&gt;Initially i thought the same way as u did, but i used to get the errors later i googled and learnt that we should implicitly convert the data types. Yes it would be great if the converting part is done automatically, but sure talend team is going to implement this functionality.
&lt;BR /&gt;Thanks and Regards,
&lt;BR /&gt;Pavan</description>
      <pubDate>Fri, 13 Apr 2012 08:02:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Always-get-ora-00984-error-when-executing/m-p/2300917#M73092</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-04-13T08:02:44Z</dc:date>
    </item>
  </channel>
</rss>

