I get this error when reading some data from an SQL column then converting it to XML:
"System.InvalidOperationException: There is an error in XML document (182, 16). ---> System.Xml.XmlException: ' ', hexadecimal value 0x0B, is an invalid character."
Fair enough, maybe the data is malformed. Except, how can I find the culprit row?
SELECT * from Mytable where Column like '%' + char(0x0B)+'%'
returns empty.
(obviously I attempted all %+char , char, char+% combinations, just in case)