I imported a database from Access to Sql Server Express, and one of the fields contains various Hex Unicode characters which is causing an error in my php file, so I would like to remove the characters from the field. The field type in sql server is nvarchar(max).
The values are:
& # x 9 ;
& # x A ;
& # x D ;
*inserted spaces between characters to display.
I haven't been able to find a way to remove these. The replace function doesn't work on it.
<Standards_T ID="2036" Code="MLR-Science.6-8.D.3.i" Grade="24" Content_Area="3" Content_Area_Subset="51" Skill_Set="178" Wording="& # x 9;Use examples of energy transformations from one form to another to explain that energy cannot be created or destroyed." />
It will just come back as "Use examples of energy transformations from one form to another to explain that energy cannot be created or destroyed." without the leading characters. Yes, it's nvarchar(max).