<?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: tELTOracleOutput and generated SQL in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289711#M63064</link>
    <description>Hi,&lt;BR /&gt;I am also facing the similar issue with tELTOracleoutput as mentioned below : &lt;BR /&gt;Inserting with : &lt;BR /&gt;INSERT INTO EMPLOYEE1(ID,NAME) (SELECT emp.ID , emp.NAME  FROM  tp2.EMPLOYEE (Table)tp2.tp2.EMPLOYEE emp)&lt;BR /&gt;Exception in component tELTOracleOutput_1 java.sql.SQLException: ORA-00907: missing right parenthesis&lt;BR /&gt;at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)&lt;BR /&gt;Can you pls suggest me  asap. &lt;BR /&gt;Thanks for your help.&lt;BR /&gt;Pratik</description>
    <pubDate>Wed, 12 Jan 2011 14:12:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-01-12T14:12:40Z</dc:date>
    <item>
      <title>tELTOracleOutput and generated SQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289708#M63061</link>
      <description>Hello,&lt;BR /&gt;I having troubles trying to build a job based on Oracle ELT component.&lt;BR /&gt;The tELTOracleOutput seams to generate a INSERT INTO table (SELECT XXX, YYYY FROM table1 inner join table2 ON table1.xxx = table2.xxxx).&lt;BR /&gt;When I launch my job I get an Oracle error complaning about the VALUES statment that is missing  (ORA-00926: missing VALUES keyword).&lt;BR /&gt;Here is the query that is generated by talend :&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;INSERT INTO context.db_oracle_echange_Schema.DEMANDE_SNGI &lt;BR /&gt;  (&lt;BR /&gt;    SELECT 1, indiv.ID_T_INDIVIDU_CPR , sysdate, null, indiv.N_NIR , indiv.N_INDICE_PENSION , indiv.N_IMMAT_SNCF , indiv.C_SEXE , indiv.L_TYPE , indiv.L_NOM_FAMILLE , indiv.L_NOM_MARITAL , indiv.L_PRENOM_1 , indiv.L_PRENOM_2 , indiv.L_PRENOM_3 , indiv.D_NAISSANCE , indiv.C_PAYS_NAISSANCE , indiv.L_PAYS_NAISSANCE , indiv.C_DEPT_NAISSANCE , indiv.L_DEPT_NAISSANCE , indiv.C_COM_NAISSANCE , indiv.L_COM_NAISSANCE , indiv.L_LOC_NAISSANCE , pere.L_NOM_FAMILLE , pere.L_PRENOM_1 , pere.L_PRENOM_2 , pere.L_PRENOM_3 , mere.L_NOM_FAMILLE , mere.L_PRENOM_1 , mere.L_PRENOM_2 , mere.L_PRENOM_3  &lt;BR /&gt;  FROM  &lt;BR /&gt;    context.db_oracle_nir_Schema.T_INDIVIDU_CPR indiv &lt;BR /&gt;    LEFT OUTER JOIN  context.db_oracle_nir_Schema.T_ASCENDANT_CPR pere ON(  pere.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR  AND  pere.C_TYPE = 1 )  &lt;BR /&gt;    LEFT OUTER JOIN  context.db_oracle_nir_Schema.T_ASCENDANT_CPR mere ON(  mere.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR  AND  mere.C_TYPE = 2 )  &lt;BR /&gt;    INNER JOIN  context.db_oracle_nir_Schema.TA_HISTORIQUE hist ON(  hist.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR  )  &lt;BR /&gt;    INNER JOIN  context.db_oracle_nir_Schema.TR_ETAT etat ON(  etat.ID_TR_ETAT = hist.ID_TR_ETAT  ) &lt;BR /&gt;  WHERE    &lt;BR /&gt;    etat.L_ETAT = 'A IDENTIFIER'&lt;BR /&gt;  )&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;If I replace all "context.db_oracle_echange_Schema." by the schema names and paste it into SQLDeveloper and execute this query the query works fine.&lt;BR /&gt;Here is the query from SQLDeveloper :&lt;BR /&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;INSERT INTO SAS_EXHANGES.DEMANDE_SNGI &lt;BR /&gt;  (&lt;BR /&gt;    SELECT 1, indiv.ID_T_INDIVIDU_CPR , sysdate, null, indiv.N_NIR , indiv.N_INDICE_PENSION , indiv.N_IMMAT_SNCF , indiv.C_SEXE , indiv.L_TYPE , indiv.L_NOM_FAMILLE , indiv.L_NOM_MARITAL , indiv.L_PRENOM_1 , indiv.L_PRENOM_2 , indiv.L_PRENOM_3 , indiv.D_NAISSANCE , indiv.C_PAYS_NAISSANCE , indiv.L_PAYS_NAISSANCE , indiv.C_DEPT_NAISSANCE , indiv.L_DEPT_NAISSANCE , indiv.C_COM_NAISSANCE , indiv.L_COM_NAISSANCE , indiv.L_LOC_NAISSANCE , pere.L_NOM_FAMILLE , pere.L_PRENOM_1 , pere.L_PRENOM_2 , pere.L_PRENOM_3 , mere.L_NOM_FAMILLE , mere.L_PRENOM_1 , mere.L_PRENOM_2 , mere.L_PRENOM_3  &lt;BR /&gt;  FROM  &lt;BR /&gt;    NIR.T_INDIVIDU_CPR indiv &lt;BR /&gt;    LEFT OUTER JOIN  NIR.T_ASCENDANT_CPR pere ON(  pere.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR  AND  pere.C_TYPE = 1 )  &lt;BR /&gt;    LEFT OUTER JOIN  NIR.T_ASCENDANT_CPR mere ON(  mere.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR  AND  mere.C_TYPE = 2 )  &lt;BR /&gt;    INNER JOIN  NIR.TA_HISTORIQUE hist ON(  hist.ID_T_INDIVIDU_CPR = indiv.ID_T_INDIVIDU_CPR  )  &lt;BR /&gt;    INNER JOIN  NIR.TR_ETAT etat ON(  etat.ID_TR_ETAT = hist.ID_TR_ETAT  ) &lt;BR /&gt;  WHERE    &lt;BR /&gt;    etat.L_ETAT = 'A IDENTIFIER'&lt;BR /&gt;  )&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I have questions on this problem :&lt;BR /&gt;It seams that the generated query from the console is not the same than the one send to Oracle. Oracle parse the query before executing it and send an ORA error before to execute it, I can't find the real talend query into the oracle v$sqlarea view.&lt;BR /&gt;Is there a way to get the real query send to Oracle ?&lt;BR /&gt;I am doing something wrong in my job ?&lt;BR /&gt;How can I fixe this problem ?&lt;BR /&gt;I am using TOS 3.2 using Java language.&lt;BR /&gt;Thanks for reading.&lt;BR /&gt;Regards,&lt;BR /&gt;Francois Chiausa</description>
      <pubDate>Sat, 16 Nov 2024 13:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289708#M63061</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleOutput and generated SQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289709#M63062</link>
      <description>tChoua&lt;BR /&gt;I posted an answer on your first topic. Plz keep asking question about your ELT issue on the intitial  topic it will be easier for us to follow it...</description>
      <pubDate>Wed, 19 May 2010 08:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289709#M63062</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-19T08:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleOutput and generated SQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289710#M63063</link>
      <description>Yes thanks very mutch, 
&lt;BR /&gt;But I create this new post cause I consider that my problem is not the same. 
&lt;BR /&gt;the post 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCrjcCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Archive/taggregate/td-p/183348&lt;/A&gt; is about the SELECT statment that is genarated by the tELTOracleMap and the LEFT OUTER JOIN statment. 
&lt;BR /&gt;This post is about the INSERT generated statment, that seams to be wrong (or the way I use it that is wrong). 
&lt;BR /&gt;As you asked me I keep going to discuss on the other post : 
&lt;A href="https://community.qlik.com/s/feed/0D53p00007vCrjcCAC" rel="nofollow noopener noreferrer"&gt;https://community.talend.com/t5/Archive/taggregate/td-p/183348&lt;/A&gt; 
&lt;BR /&gt;regards, 
&lt;BR /&gt;Francois</description>
      <pubDate>Wed, 19 May 2010 14:06:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289710#M63063</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-05-19T14:06:36Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleOutput and generated SQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289711#M63064</link>
      <description>Hi,&lt;BR /&gt;I am also facing the similar issue with tELTOracleoutput as mentioned below : &lt;BR /&gt;Inserting with : &lt;BR /&gt;INSERT INTO EMPLOYEE1(ID,NAME) (SELECT emp.ID , emp.NAME  FROM  tp2.EMPLOYEE (Table)tp2.tp2.EMPLOYEE emp)&lt;BR /&gt;Exception in component tELTOracleOutput_1 java.sql.SQLException: ORA-00907: missing right parenthesis&lt;BR /&gt;at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)&lt;BR /&gt;Can you pls suggest me  asap. &lt;BR /&gt;Thanks for your help.&lt;BR /&gt;Pratik</description>
      <pubDate>Wed, 12 Jan 2011 14:12:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289711#M63064</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-12T14:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: tELTOracleOutput and generated SQL</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289712#M63065</link>
      <description>Hi, I am facing a similar issue...Pls help...
&lt;BR /&gt;i am trying to insert in a table in a different schema than my connection...The component is tOracleOutput
&lt;BR /&gt;The connection has all privilages in oracle to insert....but i get this message ...I think it is not able to parse the sql string passed to the oracle
&lt;BR /&gt; connecting to socket on port 3351
&lt;BR /&gt; connected
&lt;BR /&gt;ORA-00926: missing VALUES keyword
&lt;BR /&gt; disconnected
&lt;BR /&gt;can anyone share how they overcone this issue...
&lt;BR /&gt;Thanks
&lt;BR /&gt;Mohan</description>
      <pubDate>Fri, 22 Jul 2011 14:47:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tELTOracleOutput-and-generated-SQL/m-p/2289712#M63065</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-07-22T14:47:25Z</dc:date>
    </item>
  </channel>
</rss>

