ORA-22288:文件或LOB操作FILEOPEN失败

时间:2015-08-20 06:24:37

标签: sql oracle xmltype

我在abc.xml

中有xml文件\\192.168.1.71\err_log

我做了以下步骤并收到错误:

create directory XMLDIR2 as '\\192.168.1.71\err_log';

GRANT ALL ON DIRECTORY xmldir2 TO PUBLIC;

INSERT INTO example2
VALUES ( xmltype (
           bfilename('XMLDIR2', 'abc.xml'),
           nls_charset_id('AL32UTF8')
         )
       );

获得以下错误:

ERROR at line 4: ORA-22288: file or LOB operation FILEOPEN failed
ORA-06512: at "SYS.XMLTYPE", line 296 ORA-06512: at line 1

0 个答案:

没有答案