I am looking to remove the carriage returns from a SQL query text file. I am using the following query and i think I should see the CR removed but it isnt.
select ltrim(rtrim(REPLACE(CAST(job_title AS VARCHAR(8000)), CHAR(13),''))) as title FROM mytable
Output :
title Inside Sales Decoration sales FAX AR PAST DUE Design centre Manager President/Owner Expo Guest Only