Pretty simple question - I have an attribute that I would like to have double quotes in. How do I escape them? I\'ve tried
Wouldn't that be " in xml? i.e.
"
"hi "mom" lol"
**edit: ** tested; works fine:
declare @xml xml set @xml = '' select @xml.value('(//item/@value)[1]','varchar(50)')