SELECT REPLACE(REPLACE(column_name, CHR(13), ''), CHR(10), '') AS cleaned_text
FROM table;

 

 

  • CHR(10) = \n
  • CHR(13) = \r