Skip to content

System.Exception: XML parsing: line 1, character 22466, illegal xml character #117

@TheGongoDev82

Description

@TheGongoDev82

Hi,

I'm trying to use your SP.

I installed it as requested on the master database.

The statement I'm running is

USE master;
GO

EXEC [MyDB]..[sp_generate_merge] @table_name='MyTable', @schema='dbo', @nologo=1, @include_use_db=0, @delete_if_not_matched=0

I get this error:

Msg 9420, Level 16, State 1, Procedure MyDB..sp_generate_merge, Line 753 [Batch Start Line 4]
XML parsing: line 1, character 22466, illegal xml character

I noticed that one of the fields in the first row of MyTable contains this character '/'. The field is a

[varchar](250) NOT NULL.

Can you help me to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions