ORA-19005: Duplicate XMLType LOB storage option
Cause: A duplicate storage option for the XMLType column was specified
Action: Specify a single storage option for an XMLType column
ORA-19005: Duplicate XMLType LOB storage option 该错误指出了重复定义XMLType存储LOB的操作被尝试过。Oracle说明,XMLType的存储LOB必须至少被定义一次,但不能被重复定义,即在同一个表中XMLType的存储LOB不能被定义多次。
SQL> alter table user1.xmltab add lob ( xmldata ) store as ( cache );
…
alter table user1.xmltab modify xmldoc lob ( xmldata ) ( tablespace users );
ORA-19005: Duplicate XMLType LOB storage option
1.检查SQL脚本,查找出尝试定义XMLType LOB存储的该表中所有语句;
2.只保留一条定义XMLType LOB存储的语句;
3.若无上述问题,尝试重新连接到数据库,或者重启数据库。