How to compare SQL Query XML Varchar(max)?

29 views Asked by At

How can I use less than or equal to comparison in this xml varchar(max) element?

select * 
from table 
where SHARED_XML.value('(//ns:Element[@ns:ElementId="29581"]/ns:ElementValue/text())[1]', 'varchar(max)') < '10'
0

There are 0 answers