Home Forums Programming Service Broker Allow special character in WELL_FORMED_XML Message RE: Allow special character in WELL_FORMED_XML Message

  • To be able to store all characters you should use nvarchar() or nchar() (as opposed to varchar() or char()) everywhere where the values are stored. i.e. in all your tables, variables and constants.

    A text constant is made into a n-type by prefixing it with a capital N. For example:

    declare @txt nvarchar(100);

    select @txt = N'test';



    Posting Data Etiquette - Jeff Moden[/url]
    Posting Performance Based Questions - Gail Shaw[/url]
    Hidden RBAR - Jeff Moden[/url]
    Cross Tabs and Pivots - Jeff Moden[/url]
    Catch-all queries - Gail Shaw[/url]


    If you don't have time to do it right, when will you have time to do it over?