I am using MySQL. My data has a column called text, which uses the TEXT data type.
text
There are several newlines for each record in this column. I want to
i've tried all said here but neither worked for me, my DB is IBM Informix, however i managed to solve the problem like this:
UPDATE personas SET foto_path = SUBSTRING(foto_path FROM 1 FOR LENGTH(foto_path) - 1);
Hope it helps other in similar situation.