LoriLHS
asked on
Replacing a carriage return with a comma
I have an sql statement: SELECT Emp_LName, Emp_FName, Comments FROM Employee
The Comments field has carriage returns. Is there a way to replace the carriage returns with a comma within the sql statement?
The Comments field has carriage returns. Is there a way to replace the carriage returns with a comma within the sql statement?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
http://metadeveloper.blogspot.com/2006/03/remove-carriage-return-line-feed-tab.html
http://www.gossamer-threads.com/forum/General_C8/Databases_and_SQL_F36/Delete_Carriage_return_query_P259718/
http://sqlserverpedia.com/blog/sql-server-bloggers/adventures-in-sql-using-ascii-to-remove-carriage-returns-in-user-input/