This content has been marked as final.
Show 2 replies
-
1. Re: Expressions of type OBJECT, CLOB, BLOB, or XML cannot be used in comparison
shawkins Jul 30, 2013 8:11 AM (in response to hanumath)There are a couple of consderations here. The first is that xpathvalue returns xml text values, not the full xml. So unless your xml_in is encoded as character data xpathvalue will not give you what you want. See the XMLQUERY function instead.
The next issue of using xml in a comparison could be addressed by passing the value as a string (assuming that it is a small value). Otherwise I'd have to know more about how the value will be used to make other suggestions.
Steve