mysql remove last empty newline
snippet in sql

mysql remove last empty newline

user9804

update mytable SET title = TRIM(TRAILING '\n' FROM title)