UPDATE ppeflow SET remark= LTRIM(RTRIM(REPLACE(CONVERT(NVARCHAR(4000),remark), CHAR (13)+CHAR (10),'')))
SELECT LTRIM(RTRIM(REPLACE(CONVERT(NVARCHAR(4000),remark), CHAR (13)+CHAR (10),''))),* FROM dbo.ppeflow WHERE pdctno = 'E20500751c0' AND techno = '02'ide
SELECT LTRIM(RTRIM(REPLACE(CONVERT(NVARCHAR(4000),remark), CHAR (13)+CHAR (10),''))),* FROM dbo.ppeflow WHERE pdctno = 'E20500751c0' AND techno = '02'rem