Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Grant Priviledge on XML objects.

Status
Not open for further replies.

tekpr00

IS-IT--Management
Jan 22, 2008
186
0
0
CA
Hello All,

Our user is getting the following error while using the XML object.

p_xml := SYS.XMLTYPE.createxml(que_message.payload); “

She was getting the following error;
Error ORA-00604: error occurred at recursive SQL level 3
ORA-00942: table or view does not exist

From experience, table or view does not exist error usually is a permission problem. Most likely the sys.createxml is where the permission problem is.

how will I grant privileges on sys.createxml to user - dbdevlpr ( for example)
 
I just found put that the object does not exist at all:
SQL> grant all on sys.createxml to vsdevl;
grant all on sys.createxml to vsdevl
*
ERROR at line 1:
ORA-00942: table or view does not exist


SQL> desc sys.createxml;
ERROR:
ORA-04043: object sys.createxml does not exist
 
How do I create this package sys.createxml
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top