1

Trying to run the following query string (against MS SQL Server) which includes special characters. How do I do this?

select top 1 Contact_CustomData.CustomFields.value('(/CustomFields[1]/GiftCard)[1]', 'varchar(100)') from Contact_CustomData;

This query (when executed directly on the db) works fine. Just need to escape these characters somehow.

simon
  • 2,896
  • 1
  • 17
  • 22
user3389171
  • 141
  • 3
  • 17

0 Answers0