John Mitchell-245523 - Wednesday, October 18, 2017 7:03 AM
Use the REPLACE function. You'll need to work out what character is being used for line breaks - CHAR(13) or CHAR(10), maybe.
REPLACE(MyCol,CHAR(13),'||')
John
nText columns can't be used in REPLACE function, may need to use Cast to varchar or nvarchar. But if size will be more than 4000 for nvarchar or 8000 for varchar than also it these string manipulation functions will not work.
Viewing 3 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply