Sql 2012 Syntax get rid of Carriage return in a field

When I run a query on a table and then copy the results directly into EXCEL on some lines I find that the row from SQL has appeared to truncate at a particular point and copy onto the next line. I took a look in Notpad and see that the break shows       CRLF in the offending place.
How do I run a script to remove Carriage returns (hidden characters) from a field

ERMO1425      Omikron Data Quality GmbH      Reseller      EXE      Omikron Data Quality GmbH    -- the line broke here in excel notepad shows CRLF
      NULL      1      A6UJ9A00087T   --- this appeared on the 2nd line in excel but should be on one line

is it

Update table
set fieldname = don't know the syntax to remove any special characters?

would I have to do this on ever field in a table or is there a global setting somewhere that helps when copying data from sql to excel?
Chris MichalczukConsultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Deepak ChauhanSQL Server DBACommented:
You can find hidden CR and LF

select ColName from Tablename where Colname like '%'+char(13)+'%' or Colname like '%'+char(10)+'%'

Now update the field

update tablename set colName =replace(replace(colName,char(10),' '),char(13),' ')

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Chris MichalczukConsultantAuthor Commented:
thanks that worked - is there anywhere I could get rid of all special characters in general rather than having to run this against each field?
Deepak ChauhanSQL Server DBACommented:
No special store for special char in sql ....... these are only in field so we have to run this for each whereever require.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft SQL Server

From novice to tech pro — start learning today.