1: 2: 3: 4: 5:
SET @T = Replace (@T, '"', '\x022') SET @T = Replace (@T, '''', '\x027') SET @T = Replace (@T, char(10), '\x0a') SET @T = Replace (@T, char(13), '\x0d')