<?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: execute statement in tOracleRow in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/execute-statement-in-tOracleRow/m-p/2204638#M5444</link>
    <description>While using tOracleRow try the following statement&lt;BR /&gt;&lt;PRE&gt;CALL DBMS_MVIEW.REFRESH('MV_NAME', 'C')&lt;/PRE&gt;&lt;BR /&gt;Since you are executing a procedure, you can also use tOracleSP.&lt;BR /&gt;Regards,&lt;BR /&gt;Abhi</description>
    <pubDate>Wed, 05 Jan 2011 03:30:49 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2011-01-05T03:30:49Z</dc:date>
    <item>
      <title>execute statement in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/execute-statement-in-tOracleRow/m-p/2204637#M5443</link>
      <description>I need to update a materialized view via a statement like this: 
&lt;BR /&gt;EXECUTE DBMS_MVIEW.REFRESH( 'MV_NAME', 'C' ) 
&lt;BR /&gt;Putting this directly in a tOracleRow component yields: 
&lt;BR /&gt; 
&lt;PRE&gt;Exception in component tOracleRow_1&lt;BR /&gt;java.sql.SQLException: ORA-00900: invalid SQL statement&lt;/PRE&gt; 
&lt;BR /&gt;Wrapping it in a BEGIN/END as suggested in early forum posts yields: 
&lt;BR /&gt; 
&lt;PRE&gt;Exception in component tOracleRow_1&lt;BR /&gt;java.sql.SQLException: ORA-06550: line 1, column 16:&lt;BR /&gt;PLS-00103: Encountered the symbol "DBMS_MVIEW" when expecting one of the following:&lt;BR /&gt;   := . ( @ % ; immediate&lt;BR /&gt;The symbol ":=" was substituted for "DBMS_MVIEW" to continue.&lt;/PRE&gt; 
&lt;BR /&gt;Can anyone suggest how to proceed? 
&lt;BR /&gt;Thanks!</description>
      <pubDate>Sat, 16 Nov 2024 13:09:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/execute-statement-in-tOracleRow/m-p/2204637#M5443</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: execute statement in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/execute-statement-in-tOracleRow/m-p/2204638#M5444</link>
      <description>While using tOracleRow try the following statement&lt;BR /&gt;&lt;PRE&gt;CALL DBMS_MVIEW.REFRESH('MV_NAME', 'C')&lt;/PRE&gt;&lt;BR /&gt;Since you are executing a procedure, you can also use tOracleSP.&lt;BR /&gt;Regards,&lt;BR /&gt;Abhi</description>
      <pubDate>Wed, 05 Jan 2011 03:30:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/execute-statement-in-tOracleRow/m-p/2204638#M5444</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-05T03:30:49Z</dc:date>
    </item>
    <item>
      <title>Re: execute statement in tOracleRow</title>
      <link>https://community.qlik.com/t5/Talend-Studio/execute-statement-in-tOracleRow/m-p/2204639#M5445</link>
      <description>Thank you iterator for the suggestion.
&lt;BR /&gt;I checked with one of our DBAs and he suggested removing the 'EXECUTE' from the SQL. The query in the tOracleRow looks like this:
&lt;BR /&gt;
&lt;PRE&gt;BEGIN&lt;BR /&gt;dbms_mview.refresh( 'MV_BUILDING_KEYWORDS', 'C' );&lt;BR /&gt;dbms_mview.refresh( 'MV_PRIMARY_KEYWORDS', 'C' );&lt;BR /&gt;dbms_mview.refresh( 'MV_REGIONAL_KEYWORDS', 'C' );&lt;BR /&gt;END;&lt;/PRE&gt;
&lt;BR /&gt;Which when activated by a tFixedFlowInput works as desired.</description>
      <pubDate>Wed, 05 Jan 2011 17:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/execute-statement-in-tOracleRow/m-p/2204639#M5445</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2011-01-05T17:17:52Z</dc:date>
    </item>
  </channel>
</rss>

