<?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: SQL Query in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query/m-p/2261606#M42341</link>
    <description>&lt;P&gt;Hi all&lt;/P&gt; 
&lt;P&gt;Thank you very much for your replies and I highly appreciate your interaction. I found the error. It is raised because i use tConnection component and I did some processing (read from csv file check data ) then I use the component tOracleRow. but When I use tconnection then tOracleRow the job run smoothly without error&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Wed, 05 Feb 2020 08:29:33 GMT</pubDate>
    <dc:creator>MZein</dc:creator>
    <dc:date>2020-02-05T08:29:33Z</dc:date>
    <item>
      <title>SQL Query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query/m-p/2261603#M42338</link>
      <description>&lt;P&gt;Hi Friends&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have the below query it work inside DBeaver but in Talend (component tOraclerowInput) it thows the exception&amp;nbsp; table out of index&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;query is&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;MERGE INTO PROTEE.T_HISTO_PRODUCTION_AGENT CIBLE&lt;BR /&gt;USING (SELECT RUGS.RO_ORGANISME_ID RUG_SOURCE, RUGC.RO_ORGANISME_ID RUG_CIBLE,&lt;BR /&gt;RAGS.RA_AGENT_ID,&lt;BR /&gt;HPA.RO_SOCIETE,&lt;BR /&gt;THPA_NUM_MISSION_PROD,&lt;BR /&gt;THPA_EXERCICE,&lt;BR /&gt;THPA_MNT_PRODUCTION,&lt;BR /&gt;THPA_NBR_VAC_REALISEES&lt;BR /&gt;FROM PROTEE.T_HISTO_PRODUCTION_AGENT HPA, PROTEE.R_ORGANISME RUGS, PROTEE.R_ORGANISME RUGC, PROTEE.R_AGENT RAGS&lt;BR /&gt;WHERE RUGS.RO_TE_ORGANISME = 'U' AND RUGS.RO_CODE_ORGANISME = 'AMOB1' -- UG source&lt;BR /&gt;AND RUGC.RO_TYPE_ORGANISME = 'U' AND RUGC.RO_CODE_ORGANISME = 'COOL1' -- UG cible&lt;BR /&gt;AND RAGS.RO_SOCIETE =5242 AND RAGS.RA_MATRICULE = 821525&lt;BR /&gt;AND RO_UG = RUGS.RO_ORGANISME_ID&lt;BR /&gt;AND HPA.RA_AGENT_ID = RAGS.RA_AGENT_ID&lt;BR /&gt;AND THPA_EXERCICE &amp;lt; to_char(sysdate, 'YYYY') )&lt;BR /&gt;SOURCE ON ( CIBLE.RO_UG = SOURCE.RUG_CIBLE&lt;BR /&gt;AND CIBLE.RA_AGENT_ID = SOURCE.RA_AGENT_ID&lt;BR /&gt;AND CIBLE.RO_SOCIETE = SOURCE.RO_SOCIETE&lt;BR /&gt;AND CIBLE.THPA_NUM_MISSION_PROD = SOURCE.THPA_NUM_MISSION_PROD&lt;BR /&gt;AND CIBLE.THPA_EXERCICE = SOURCE.THPA_EXERCICE)&lt;BR /&gt;WHEN MATCHED&lt;BR /&gt;THEN&lt;BR /&gt;UPDATE SET&lt;BR /&gt;CIBLE.THPA_MNT_PRODUCTION = CIBLE.THPA_MNT_PRODUCTION + SOURCE.THPA_MNT_PRODUCTION,&lt;BR /&gt;CIBLE.THPA_NBR_VAC_REALISEES = CIBLE.THPA_NBR_VAC_REALISEES + SOURCE.THPA_NBR_VAC_REALISEES&lt;BR /&gt;WHEN NOT MATCHED&lt;BR /&gt;THEN&lt;BR /&gt;INSERT (CIBLE.RO_UG,&lt;BR /&gt;CIBLE.RA_AGENT_ID,&lt;BR /&gt;CIBLE.RO_SOCIETE,&lt;BR /&gt;CIBLE.THPA_NUM_MISSION_PROD,&lt;BR /&gt;CIBLE.THPA_EXERCICE,&lt;BR /&gt;CIBLE.THPA_MNT_PRODUCTION,&lt;BR /&gt;CIBLE.THPA_NBR_VAC_REALISEES)&lt;BR /&gt;VALUES (SOURCE.RUG_CIBLE,&lt;BR /&gt;SOURCE.RA_AGENT_ID,&lt;BR /&gt;SOURCE.RO_SOCIETE,&lt;BR /&gt;SOURCE.THPA_NUM_MISSION_PROD,&lt;BR /&gt;SOURCE.THPA_EXERCICE,&lt;BR /&gt;SOURCE.THPA_MNT_PRODUCTION,&lt;BR /&gt;SOURCE.THPA_NBR_VAC_REALISEES)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 03:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Query/m-p/2261603#M42338</guid>
      <dc:creator>MZein</dc:creator>
      <dc:date>2024-11-16T03:31:11Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query/m-p/2261604#M42339</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
 &lt;LI&gt;which exactly component do you use? (there no component&amp;nbsp;&lt;SPAN&gt;tOraclerowInput, only&amp;nbsp;tOracleRow or&amp;nbsp;tOracleInput)&lt;/SPAN&gt;&lt;/LI&gt;
 &lt;LI&gt;&lt;SPAN&gt;what exactly error code?&lt;/SPAN&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&lt;SPAN&gt;regards, Vlad&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 00:57:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Query/m-p/2261604#M42339</guid>
      <dc:creator>vapukov</dc:creator>
      <dc:date>2020-01-29T00:57:47Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query/m-p/2261605#M42340</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LQO1AAO"&gt;@MZein&lt;/A&gt;&amp;nbsp;, you need to use&amp;nbsp;&lt;SPAN&gt;tDBRow&amp;nbsp;component to execute that query .&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Jan 2020 10:36:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Query/m-p/2261605#M42340</guid>
      <dc:creator>manodwhb</dc:creator>
      <dc:date>2020-01-29T10:36:35Z</dc:date>
    </item>
    <item>
      <title>Re: SQL Query</title>
      <link>https://community.qlik.com/t5/Talend-Studio/SQL-Query/m-p/2261606#M42341</link>
      <description>&lt;P&gt;Hi all&lt;/P&gt; 
&lt;P&gt;Thank you very much for your replies and I highly appreciate your interaction. I found the error. It is raised because i use tConnection component and I did some processing (read from csv file check data ) then I use the component tOracleRow. but When I use tconnection then tOracleRow the job run smoothly without error&lt;/P&gt; 
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2020 08:29:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/SQL-Query/m-p/2261606#M42341</guid>
      <dc:creator>MZein</dc:creator>
      <dc:date>2020-02-05T08:29:33Z</dc:date>
    </item>
  </channel>
</rss>

