文档解释
ORA-19272: XQDY0052 – invalid atomic value in attribute or element constructor
Cause: The content of the element or attribute constructor included an atomic value that could not be cast into a string.
Action: Fix the content to contain atomic values that can be cast to a string.
ORA-19272:XQDY0052错误是由无效的原子价值产生的元素或属性构造器引起的。
官方解释
常见案例
XMLQUERY(‘xmldocument(“foo”)//bar[@value = “Disallowed”]’)
在这种情况下,构造器尝试使用字符串”Disallowed”作为条件,因此,在此情况下,错误ORA-19272 XQDY0052可能会发生。
一般处理方法及步骤
1.确保XML构造器中使用的原子值具有正确的数据类型。
2.使用XMLQUERY或DBMS_XMLQUERY函数中支持的转义字符中的特殊字符。
3.在XML构造器中使用有效的属性值。
香港美国云服务器首选树叶云,2H2G首月10元开通。
树叶云(shuyeidc.com)提供简单好用,价格厚道的香港/美国云服务器和独立服务器。IDC+ISP+ICP资质。ARIN和APNIC会员。成熟技术团队15年行业经验。
文章来源网络,作者:运维,如若转载,请注明出处:https://shuyeidc.com/wp/260870.html<

