Trying to write an SQL Script that will find a carriage return and delete it. When I export the data to excel the carriage return is causing data to go to the next line and into the first field.
SELECT *, CASE comment WHEN CHARINDEX(CHAR(10), comment) Then 'True 10' WHEN CHARINDEX(CHAR(13), comment) Then 'True 13' ELSE 'False' END AS CheckReturn FROM #Temp