is there anyone who knows how to replace a string containing carriage return with space.
ex:
declare @a as varchar
set @a = 'the quick
brown fox'
--the output
print @a
the quick
brown fox
--i want the output in one line
the quick brown fox
any help would be appreciated.
thanks in advance
ex:
declare @a as varchar
set @a = 'the quick
brown fox'
--the output
print @a
the quick
brown fox
--i want the output in one line
the quick brown fox
any help would be appreciated.
thanks in advance