I followed these steps to insert XML data into an Oracle table:
- Created one directory and created one table. What are the columns having that XML file I created the table also.
- Now I'm inserting the data into that table I'm getting an error which I need help with.
ExtractValue(Value(x),'//Costs') as Costs
FROM TABLE(XMLSequence(Extract(XMLType(bfilename('MY_DIR', 'test.xml'),
nls_charset_id('UTF8') ),'/PODetails/POHeader'))) x;
Error:
ORA-22288: file or LOB operation FILEOPEN failed
The system cannot find the path specified.
ORA-06512: at "SYS.DBMS_LOB", line 523
ORA-06512: at "SYS.XMLTYPE", line 287
ORA-06512: at line 1