UPDATE test SET log = REPLACE(REPLACE(log, '\r', ''), '\n', '');
worked for me.
while its similar, it’ll also get rid of \r\n
More Related Contents:
- SQL split values to multiple rows
- How do I escape reserved words used as column names? MySQL/Create Table
- How to populate a table with a range of dates?
- What is the opposite of GROUP_CONCAT in MySQL?
- How to Perform an UPSERT so that I can use both new and old values in update part
- brew install mysql on macOS
- MySQL: selecting rows where a column is null
- How do I check to see if a value is an integer in MySQL?
- Convert timestamp to date in MySQL query
- Update a column value, replacing part of a string
- MySQL error 1064 syntax but everything seems fine
- MySQL/MariaDB – order by inside subquery
- How to run SQL script in MySQL?
- Sort by order of values in a select statement “in” clause in mysql
- How to re-sync the Mysql DB if Master and slave have different database incase of Mysql replication?
- Removing MySQL 5.7 Completely [closed]
- How to optimize COUNT(*) performance on InnoDB by using index
- script to convert mysql dump sql file into format that can be imported into sqlite3 db
- MySQL Stored Procedures not working with SELECT (basic question)
- ERROR 1148: The used command is not allowed with this MySQL version
- MySQL LAST_INSERT_ID() used with multiple records INSERT statement
- Too many auto increments with ON DUPLICATE KEY UPDATE
- SQL (MySQL) vs NoSQL (CouchDB) [closed]
- Select by Month of a field
- MySQL Illegal mix of collations
- MySQL GROUP BY age range including null ranges
- MySQL update statement to store ranking positions
- Best tool for synchronizing MySQL databases [closed]
- Failed building wheel for mysql-python
- How to convert a varchar column type to date type without losing the dates