<?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: Use a EXEC DBMS_STATS in a tOracleRow or another component ? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Use-a-EXEC-DBMS-STATS-in-a-tOracleRow-or-another-component/m-p/2370757#M133763</link>
    <description>Hi, 
&lt;BR /&gt;Just remove the EXEC command and type the remaining part of the statement with ";". Your wish will be fulfilled. 
&lt;BR /&gt;Cheers! 
&lt;BR /&gt;Thanks and Regards, 
&lt;BR /&gt;Pavan 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello,&lt;BR /&gt;Is it possible to do an "exec dbms_stats" with a Talend job ?&lt;BR /&gt;I am trying to execute this statement:&lt;BR /&gt;"EXEC DBMS_STATS.GATHER_SCHEMA_STATS('my_schema', cascade=&amp;gt;TRUE)"&lt;BR /&gt;with a tOracleRow but I get the error ORA-00900: invalid SQL Statement. It's the same with a ; at the end of the line.&lt;BR /&gt;When I execute this statement in SQLPlus/TOAD it works fine.&lt;BR /&gt;I'm on Oracle 11g, and Talend 4.0.3.&lt;BR /&gt;Any idea please ?&lt;BR /&gt;Thx in advance !&lt;BR /&gt;Sorry for my english.. &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Sun, 24 Jun 2012 08:21:31 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-06-24T08:21:31Z</dc:date>
    <item>
      <title>Use a EXEC DBMS_STATS in a tOracleRow or another component ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-EXEC-DBMS-STATS-in-a-tOracleRow-or-another-component/m-p/2370755#M133761</link>
      <description>Hello, 
&lt;BR /&gt;Is it possible to do an "exec dbms_stats" with a Talend job ? 
&lt;BR /&gt;I am trying to execute this statement: 
&lt;BR /&gt;"EXEC DBMS_STATS.GATHER_SCHEMA_STATS('my_schema', cascade=&amp;gt;TRUE)" 
&lt;BR /&gt;with a tOracleRow but I get the error ORA-00900: invalid SQL Statement. It's the same with a ; at the end of the line. 
&lt;BR /&gt;When I execute this statement in SQLPlus/TOAD it works fine. 
&lt;BR /&gt;I'm on Oracle 11g, and Talend 4.0.3. 
&lt;BR /&gt;Any idea please ? 
&lt;BR /&gt;Thx in advance ! 
&lt;BR /&gt;Sorry for my english.. 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 12:38:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-EXEC-DBMS-STATS-in-a-tOracleRow-or-another-component/m-p/2370755#M133761</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T12:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: Use a EXEC DBMS_STATS in a tOracleRow or another component ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-EXEC-DBMS-STATS-in-a-tOracleRow-or-another-component/m-p/2370756#M133762</link>
      <description>I created a stored proc then call it using the tOracle SP operator: CREATE OR REPLACE PROCEDURE REFRESH_STATS &lt;BR /&gt;(in_table_name varchar2)&lt;BR /&gt;as&lt;BR /&gt;BEGIN&lt;BR /&gt;DBMS_STATS.GATHER_TABLE_STATS(OWNNAME =&amp;gt; 'BI_DM', TABNAME =&amp;gt; in_table_name, CASCADE =&amp;gt; TRUE, ESTIMATE_PERCENT =&amp;gt; 100, DEGREE =&amp;gt; DBMS_STATS.AUTO_DEGREE);&lt;BR /&gt;END;&lt;BR /&gt;/</description>
      <pubDate>Tue, 13 Mar 2012 13:04:17 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-EXEC-DBMS-STATS-in-a-tOracleRow-or-another-component/m-p/2370756#M133762</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-03-13T13:04:17Z</dc:date>
    </item>
    <item>
      <title>Re: Use a EXEC DBMS_STATS in a tOracleRow or another component ?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Use-a-EXEC-DBMS-STATS-in-a-tOracleRow-or-another-component/m-p/2370757#M133763</link>
      <description>Hi, 
&lt;BR /&gt;Just remove the EXEC command and type the remaining part of the statement with ";". Your wish will be fulfilled. 
&lt;BR /&gt;Cheers! 
&lt;BR /&gt;Thanks and Regards, 
&lt;BR /&gt;Pavan 
&lt;BR /&gt; 
&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;Hello,&lt;BR /&gt;Is it possible to do an "exec dbms_stats" with a Talend job ?&lt;BR /&gt;I am trying to execute this statement:&lt;BR /&gt;"EXEC DBMS_STATS.GATHER_SCHEMA_STATS('my_schema', cascade=&amp;gt;TRUE)"&lt;BR /&gt;with a tOracleRow but I get the error ORA-00900: invalid SQL Statement. It's the same with a ; at the end of the line.&lt;BR /&gt;When I execute this statement in SQLPlus/TOAD it works fine.&lt;BR /&gt;I'm on Oracle 11g, and Talend 4.0.3.&lt;BR /&gt;Any idea please ?&lt;BR /&gt;Thx in advance !&lt;BR /&gt;Sorry for my english.. &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Sun, 24 Jun 2012 08:21:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Use-a-EXEC-DBMS-STATS-in-a-tOracleRow-or-another-component/m-p/2370757#M133763</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-06-24T08:21:31Z</dc:date>
    </item>
  </channel>
</rss>

