ORA-19114 And PLS-00201 Errors

Executing the next command;


WOWT> xquery 1
2 /


I get the following error;


ORA-19114: error during parsing the XQuery expression:
ORA-06550: line 1, column 13:
PLS-00201: identifier ‘SYS.DBMS_XQUERYINT’ must be declared
ORA-06550: line 1, column 7:
PL/SQL: Statement ignored


You need install the INITXQRY.SQL package to solve the problem. From SYS user at sqlplus prompt;


SQL> @?ORACLE_HOME/rdbms/admin/initxqry.sql


If you execute the next query, it return two rows;


 WOWT> select * from dba_objects where object_name ='DBMS_XQUERYINT';

OWNER                OBJECT_NAME                              SUBOBJECT_NAME                 
____________________ ________________________________________ ______________________________ 
SYS                  DBMS_XQUERYINT                           ø                              
SYS                  DBMS_XQUERYINT                           ø                              






Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s