Is it possible to use the replace function to replace a new line character or a carriage return within a string (like <br> for an html output)? I tried to use the ascii reference, but could not find the correct syntax to refer to an ascii character.
A db2 programmer suggested:
select replace(contact_telephone, X'10', '<br>') from bid_list
but this does not work in MS SQL Server. I would like to stick with ansi sql if there is a solution.
Any help is appreciated.
Gia McCue
A db2 programmer suggested:
select replace(contact_telephone, X'10', '<br>') from bid_list
but this does not work in MS SQL Server. I would like to stick with ansi sql if there is a solution.
Any help is appreciated.
Gia McCue