SyntaxFix
Write A Post
Hire A Developer
Questions
Try this if you don't want to use the UDF function.
SELECT COLUMN1, TRY_CONVERT(xml, COLUMN2).value('.', 'nvarchar(max)') as COL2, COLUMN3 FROM DBO.TABLENAME