<?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: Multiple update sql statement in tOracleRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332360#M101249</link>
    <description>&lt;P&gt;hi,&lt;BR /&gt;i would have thought that you would use tOracleRow per statement and chain as many as you want (one after another).&lt;BR /&gt;did it help?&lt;/P&gt;</description>
    <pubDate>Thu, 01 Oct 2009 12:06:22 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2009-10-01T12:06:22Z</dc:date>
    <item>
      <title>Multiple update sql statement in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332359#M101248</link>
      <description>&lt;P&gt;I'm trying to use tOracleRow to run multiple update statement. In SQL developer , I'm able to update using query like this:&lt;BR /&gt;"UPDATE PPB SET REFERENCE_YEAR=2010 WHERE RECORD_ID=21;UPDATE PPB SET REFERENCE_YEAR=2010 WHERE RECORD_ID=22;"&lt;BR /&gt;But when I input this to tOracleRow , it shows me invalid character. I need help on this matter. Can anyone explain to me how to update or &lt;BR /&gt;insert multiple sql in tOracleRow ?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 13:44:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332359#M101248</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple update sql statement in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332360#M101249</link>
      <description>&lt;P&gt;hi,&lt;BR /&gt;i would have thought that you would use tOracleRow per statement and chain as many as you want (one after another).&lt;BR /&gt;did it help?&lt;/P&gt;</description>
      <pubDate>Thu, 01 Oct 2009 12:06:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332360#M101249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2009-10-01T12:06:22Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple update sql statement in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332361#M101250</link>
      <description>&lt;P&gt;You have to do this : "BEGIN UPDATE PPB SET REFERENCE_YEAR=2010 WHERE RECORD_ID=21;UPDATE PPB SET REFERENCE_YEAR=2010 WHERE RECORD_ID=22; COMMIT; END;"&lt;/P&gt;</description>
      <pubDate>Thu, 12 Aug 2010 11:20:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332361#M101250</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-08-12T11:20:57Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple update sql statement in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332362#M101251</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm trying to do something similar. I need to run a stored procedure (that sets the user id for auditing) with inputs before I run update/insert/delete statements. But when I run both SQL in one tOracleRow component, I get the following error:&lt;BR /&gt;Starting job multipleSqlTest at 23:53 27/09/2010.&lt;BR /&gt; connecting to socket on port 4028&lt;BR /&gt; connected&lt;BR /&gt;ORA-06550: line 1, column 13:&lt;BR /&gt;PLS-00103: Encountered the symbol "COMP_AUDIT" when expecting one of the following:&lt;BR /&gt; := . ( @ % ;&lt;BR /&gt;The symbol ":=" was substituted for "COMP_AUDIT" to continue.&lt;BR /&gt; disconnected&lt;BR /&gt;Job multipleSqlTest ended at 23:53 27/09/2010. &lt;BR /&gt;I have the component query as follows:&lt;BR /&gt;"begin&lt;BR /&gt;call comp_audit.set_user(3, 'A55555'); &lt;BR /&gt;Delete from CMPADM.SP_CMPO_ELIG where CMPO_ELIG_KEY=34007;&lt;BR /&gt;end;"&lt;BR /&gt;I have tried running the two sql statements in different tOracleRow components. I do not get the error and job completes, but the record is not deleted. &lt;BR /&gt;Any ideas what I might be doing wrong?&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2010 05:58:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332362#M101251</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-28T05:58:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple update sql statement in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332363#M101252</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;Try to add commit keyword in your query:&lt;BR /&gt;"begin&lt;BR /&gt;call comp_audit.set_user(3, 'A55555'); &lt;BR /&gt;Delete from CMPADM.SP_CMPO_ELIG where CMPO_ELIG_KEY=34007;&lt;BR /&gt;commit;&lt;BR /&gt;end;"&lt;/P&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;but the record is not deleted.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;Are you using a tOracleConnection to create a db connection? If so, don't forget to use a tOracleCommit to commit the transaction.&lt;BR /&gt;Best regards&lt;BR /&gt;Shong&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2010 07:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332363#M101252</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-28T07:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple update sql statement in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332364#M101253</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;I'm not using a tOracleConnection component. I tried that, but the same error. I don't think the process is moving beyond the 'call' statement. I tried using execute instead of call as well. &lt;BR /&gt;I also tried using two seperate tOracleRow components. One for each SQL. Had a commit for the second component with the delete statement. &lt;BR /&gt;First Component SQL: &lt;BR /&gt;"call comp_audit.set_user(3, 'A55555')"&lt;BR /&gt;Second Component SQL: &lt;BR /&gt;"begin&lt;BR /&gt;Delete from CMPADM.SP_CMPO_ELIG where CMPO_ELIG_KEY=34007;&lt;BR /&gt;commit;&lt;BR /&gt;end;"&lt;BR /&gt;This time the first component runs without errors. But the record is still not deleted, due to the user not being set in the same transation (I think).&lt;BR /&gt;Now I get an error from the database because the user is not set.&lt;BR /&gt;Starting job Copy_of_multipleSqlTest at 07:55 28/09/2010.&lt;BR /&gt; connecting to socket on port 3536&lt;BR /&gt; connected&lt;BR /&gt;ORA-31495: error in synchronous change table on "CMPADM"."SP_CMPO_ELIG"&lt;BR /&gt;ORA-01400: cannot insert NULL into ("CMPADM"."CD$AUD_INFO"."AUD_USR_SPC")&lt;BR /&gt;ORA-06512: at "CMPADM.COMP_AUDIT", line 51&lt;BR /&gt;ORA-06512: at "CMPADM.TR$CMPO_ELIG", line 1&lt;BR /&gt;ORA-04088: error during execution of trigger 'CMPADM.TR$CMPO_ELIG'&lt;BR /&gt;ORA-06512: at line 1&lt;BR /&gt; disconnected&lt;BR /&gt;Job Copy_of_multipleSqlTest ended at 07:55 28/09/2010. &lt;BR /&gt;Ultimately I want to run both sql, so I wont get this errror.&lt;BR /&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 28 Sep 2010 13:58:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332364#M101253</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-09-28T13:58:34Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple update sql statement in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332365#M101254</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;You have to do this : "BEGIN UPDATE PPB SET REFERENCE_YEAR=2010 WHERE RECORD_ID=21;UPDATE PPB SET REFERENCE_YEAR=2010 WHERE RECORD_ID=22; COMMIT; END;"&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;P&gt;&lt;BR /&gt;This does'nt work when used in a DROP table command.&lt;BR /&gt;I need to execute the following sql commands using tOracleRow:&lt;BR /&gt;drop table amp&lt;BR /&gt;drop table amp1&lt;BR /&gt;truncate table emp_tgt&lt;BR /&gt;Any idea pls.&lt;BR /&gt;Cheers,&lt;BR /&gt;Ram&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2011 00:15:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Multiple-update-sql-statement-in-tOracleRow/m-p/2332365#M101254</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2011-05-16T00:15:48Z</dc:date>
    </item>
  </channel>
</rss>

