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'
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'