Link to home
Start Free TrialLog in
Avatar of rastafaray
rastafarayFlag for United States of America

asked on

SQL update statement to replace txt string with a non-printable line-break character

SQL update statement to replace txt string with a non-printable line-break character
we would like to update all '<BR>' entries in a field with a non-printable line-break character

thank you.
Avatar of ghayasurrehman
ghayasurrehman
Flag of Pakistan image

update table set column = REPLACE(column,'<BR>','\r\n') where <your criteria>
Avatar of rastafaray

ASKER

that didnt work!  

we ended up with "HELLO\r\nTEXT" instead of "HELLO<BR>TEXT"

we are looking for

"HELLO
TEXT"
ASKER CERTIFIED SOLUTION
Avatar of rastafaray
rastafaray
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial