Invalid Procedure SYS.SET_TABLESPACE in 11.2.0.X

(Doc ID 1471303.1)

Last updated on FEBRUARY 08, 2017

Applies to:

Oracle Database - Enterprise Edition - Version 11.2.0.3 and later
Information in this document applies to any platform.

Symptoms

Procedure SYS.SET_TABLESPACE is INVALID in 11.2.0.3 database -

Manual compilation of the procudure fails with below errors -


SQL> alter procedure sys.set_tablespace compile;

Warning: Procedure altered with compilation errors.

SQL> show error
Errors for PROCEDURE SYS.SET_TABLESPACE:

LINE/COL ERROR
-------- -----------------------------------------------------------------
138/3    PL/SQL: SQL Statement ignored
138/19   PL/SQL: ORA-00947: not enough values
162/3    PL/SQL: Statement ignored
162/16   PLS-00302: component 'REBUILDHIERARCHICALINDEX' must be declared

Changes


 Database has been recently upgraded from 11.2.0.1 or 11.2.0.2 to 11.2.0.3 patchset.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms