SyntaxFix
Write A Post
Hire A Developer
Questions
What happens if you try the following?
Instead of your double REPLACE statement, try:
REPLACE
REPLACE(IFNULL(ts.description, ''),'\r\n', '\n')
Also, I think it should be LINES TERMINATED BY '\r\n' instead of just '\n'
LINES TERMINATED BY '\r\n'
'\n'