<?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: Exception in component tOracleOutput_1 ORA-00904: : invalid identifier in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202431#M4138</link>
    <description>Hi,
&lt;BR /&gt;The previous resolution is working, but rather as a workaround, because in the DB it inserts quotes around the value.
&lt;BR /&gt;After researching, I found that the 
&lt;I&gt;ORA-00904: : Invalid identifier &lt;/I&gt; is appearing when you change the column name going to the DB.
&lt;BR /&gt;Creating the MetaData Schema (See Appended Img):
&lt;BR /&gt;Point 1-2 : The input File is 
&lt;I&gt;"Value1";"Value2";...&lt;/I&gt; using this setting, I remove the quotes around the value
&lt;BR /&gt;Point 3-4 : The first line of the Input File is the Column name So use it for the column name.
&lt;BR /&gt;
&lt;B&gt;Bug ?&lt;/B&gt;
&lt;BR /&gt;Selecting 
&lt;I&gt;Set heading as column name&lt;/I&gt; when creating the metadata schema is properly creating the schema with custom headers names, but after, when using it as input to tOracleOutput it creates 
&lt;I&gt;ORA-00904: : invalid identifier&lt;/I&gt; when the Db column name is different from column0, ...
&lt;BR /&gt;I couldn't find a way to set the Db column name other than column0, ... as soon as the the Db column is names column
&lt;B&gt;X&lt;/B&gt; it works.</description>
    <pubDate>Sun, 21 Dec 2008 20:46:10 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2008-12-21T20:46:10Z</dc:date>
    <item>
      <title>Exception in component tOracleOutput_1 ORA-00904: : invalid identifier</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202428#M4135</link>
      <description>Hi, 
&lt;BR /&gt;I have a job with a tFileInputDelimited and a tOracleOutput. 
&lt;BR /&gt;I'm getting : 
&lt;BR /&gt; 
&lt;I&gt;Exception in component tOracleOutput_1&lt;BR /&gt;java.sql.SQLException: ORA-00904: : invalid identifier&lt;/I&gt; 
&lt;BR /&gt;Note : there is no fieldname returned between the semicolons. 
&lt;BR /&gt;I started with a more complex schema, then used a simple schema with only 2 fields. I have put everything in uppercase, tablename, fieldnames. 
&lt;BR /&gt;I tried in the tOracleOutput "Drop table if exists and create","Create table if not exists", I created the table in advance in Oracle. 
&lt;BR /&gt;I checked that the fieldnames and table name are not longer than 30 Chars and don't contain unallowed characters. 
&lt;BR /&gt;I kept them as string type. 
&lt;BR /&gt;The connection to the DB is working (I can inspect it) 
&lt;BR /&gt;Nothing helps. 
&lt;BR /&gt;Any Idea what the reason could be ?</description>
      <pubDate>Sat, 16 Nov 2024 14:07:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202428#M4135</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T14:07:16Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tOracleOutput_1 ORA-00904: : invalid identifier</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202429#M4136</link>
      <description>Hi,&lt;BR /&gt;Which version of TOS &amp;amp; Oracle are you using? Try the solution shown in the screenshot below.&lt;BR /&gt;Regards,&lt;BR /&gt;Youssef</description>
      <pubDate>Tue, 16 Dec 2008 15:09:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202429#M4136</guid>
      <dc:creator>youssef2</dc:creator>
      <dc:date>2008-12-16T15:09:00Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tOracleOutput_1 ORA-00904: : invalid identifier</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202430#M4137</link>
      <description>Wow,&lt;BR /&gt;Thanks for the tip, &lt;B&gt;It worked&lt;/B&gt;.&lt;BR /&gt;Just weird that it is not documented and that you have to change the schema manually.&lt;BR /&gt;I also don't understand in &lt;I&gt;tOracleOutput&lt;/I&gt; "Advanced settings" -&amp;gt; "Convert columns and Table to uppercase" doesn't seem to work, or may be I don't know how to use it properly, because I had to uppercase myself.&lt;BR /&gt;TOS version&lt;BR /&gt;Version: 3.0.2&lt;BR /&gt;Build id: r20205-20081119-1100&lt;BR /&gt;ORACLE version :&lt;BR /&gt;10g (should be 10.0.2) with service name (couldn't have it working with Oracle with SID, it was complaining about oracle.jdbc.ClassNotFoundexception for oracle.jdc.driver.OracleDriver. I tried CLASSPATH,PATH, placing the jar in miscellaneous places, ... nothing helped)&lt;BR /&gt;This product has a lot of useful features. Very interesting one.&lt;BR /&gt;Thanks a lot.</description>
      <pubDate>Tue, 16 Dec 2008 17:04:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202430#M4137</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-16T17:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tOracleOutput_1 ORA-00904: : invalid identifier</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202431#M4138</link>
      <description>Hi,
&lt;BR /&gt;The previous resolution is working, but rather as a workaround, because in the DB it inserts quotes around the value.
&lt;BR /&gt;After researching, I found that the 
&lt;I&gt;ORA-00904: : Invalid identifier &lt;/I&gt; is appearing when you change the column name going to the DB.
&lt;BR /&gt;Creating the MetaData Schema (See Appended Img):
&lt;BR /&gt;Point 1-2 : The input File is 
&lt;I&gt;"Value1";"Value2";...&lt;/I&gt; using this setting, I remove the quotes around the value
&lt;BR /&gt;Point 3-4 : The first line of the Input File is the Column name So use it for the column name.
&lt;BR /&gt;
&lt;B&gt;Bug ?&lt;/B&gt;
&lt;BR /&gt;Selecting 
&lt;I&gt;Set heading as column name&lt;/I&gt; when creating the metadata schema is properly creating the schema with custom headers names, but after, when using it as input to tOracleOutput it creates 
&lt;I&gt;ORA-00904: : invalid identifier&lt;/I&gt; when the Db column name is different from column0, ...
&lt;BR /&gt;I couldn't find a way to set the Db column name other than column0, ... as soon as the the Db column is names column
&lt;B&gt;X&lt;/B&gt; it works.</description>
      <pubDate>Sun, 21 Dec 2008 20:46:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202431#M4138</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2008-12-21T20:46:10Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in component tOracleOutput_1 ORA-00904: : invalid identifier</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202432#M4139</link>
      <description>Ok,&lt;BR /&gt;Now I have figured out why I got the error.&lt;BR /&gt;The Oracle error is generated on field names which are reserved words. Those needs to be enclosed in double quotes.&lt;BR /&gt;I had 2 columns in my schema &lt;B&gt;order&lt;/B&gt;  and &lt;B&gt;operation&lt;/B&gt;.&lt;BR /&gt;If I simply use those names as &lt;I&gt;Db Column&lt;/I&gt; names, Oracle isn't happy and generated the error.&lt;BR /&gt;So the reason why we need to surround those names with double quotes.&lt;BR /&gt;The escape character is &lt;B&gt;\&lt;/B&gt;. So if you write &lt;B&gt;\"order\"&lt;/B&gt; it will be sent to the Oracle as "order".&lt;BR /&gt;That's for the explanation.</description>
      <pubDate>Tue, 03 Mar 2009 15:28:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Exception-in-component-tOracleOutput-1-ORA-00904-invalid/m-p/2202432#M4139</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-03-03T15:28:54Z</dc:date>
    </item>
  </channel>
</rss>

