-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Check_Blocking throws this error occasionally:
Msg 9420, Level 16, State 1, Procedure Check_Blocking, Line 339
[Batch Start Line 0] XML parsing: line 1, character 369, illegal xml character
This may be related to this XML parsing issue. In which case, adding some explicit aliasing as text should solve it? Maybe?
Something like this:
SELECT
x =
(
SELECT
[text()] =
http://b.Name
FROM dbo.Badges AS b
WHERE http://b.Id = 100564
FOR XML
PATH(''),
TYPE
).value
(
'./text()[1]',
'nvarchar(max)'
);Metadata
Metadata
Assignees
Labels
No labels