ORA-31162: element or attribute “string” has no SQLType specified ORACLE 报错 故障修复 远程处理
文档解释
ORA-31162: element or attribute “string” has no SQLType specified
Cause: Schema registration was invoked with GENTYPES=false without specifying a SQLType for some element or attribute
Action: Specify a SQLType for the offending element or attribute and register the schema again
ORA-31162错误表明指定的元素或属性没有指定SQLType。
官方解释
ORA-31162表明对于用于指示XMLType的XML Schema,必须指定该元素或属性的SQLType。
常见案例
如果在使用XMLType时,使用的XML Schema规范中的某个元素或属性没有指定SQLType,那么ORA-31162错误将会被抛出。
一般处理方法及步骤
1.检查XML Schema,确认每个Pieces和Attributes是否都已声明SQLType。
2.如果有未声明SQL Type的元素,请在XML Schema中添加必需的SQLType声明。
3.重新载入XML Schema并验证ORA-31162错误是否仍然出现。
香港美国云服务器首选后浪云,2H2G首月10元开通。
后浪云(www.IDC.Net)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。
版权声明:
作者:后浪云
链接:https://www.idc.net/help/45131/
文章版权归作者所有,未经允许请勿转载。
THE END