for XML path 转义时间:2024-12-07 20:37:08select (SELECT 'ab<&c' FOR XML PATH(''),TYPE).value('.','NVARCHAR(MAX)')