I have a table, with two column: id, text
I would like to replace the newline characters to spaces in the text column.
UPDATE txt SET text=REPLACE(text, '\n', ' ') WHERE text LIKE %\n%
Will this work? I want to be sure, before I run this code. I don't like to crash my table, because I have a lot of data in it.