2PTTechnology

The platform that enables you to build rich, interactive communities
Welcome to 2PTTechnology Sign in | Join | Help
in Search

How to remove carriage return from a record SQL

Last post 03-03-2009, 6:19 PM by twaligora. 0 replies.
Sort Posts: Previous Next
  •  03-03-2009, 6:19 PM 205

    How to remove carriage return from a record SQL

    it appears that char(10) holds the value of a carriage return so

     

    select

       replace(ISNULL(MyValue,''),char(10),' ')

    from

       MyTable 

View as RSS news feed in XML
Powered by Community Server (Personal Edition), by Telligent Systems