SELECT REPLACE(
REPLACE(yourcolumn, '\r', '\\r'),
'\n',
'\\n'
) FROM yourtable;
More Related Contents:
- Out of memory Microsoft VBScript runtime error 800a0007
- MySQL how to fill missing dates in range?
- Left Outer Join doesn’t return all rows from my left table?
- How can i optimize MySQL’s ORDER BY RAND() function?
- Are table names in MySQL case sensitive?
- How to split the name string in mysql?
- Get table names using SELECT statement in MySQL
- ERROR 1396 (HY000): Operation CREATE USER failed for ‘jack’@’localhost’
- Can a foreign key reference a non-unique index?
- Storing Data in MySQL as JSON
- How to set a maximum execution time for a mysql query?
- MySQL select statement with CASE or IF ELSEIF? Not sure how to get the result
- SQL keys, MUL vs PRI vs UNI
- Can’t Create Entity Data Model – using MySql and EF6
- How to copy a row and insert in same table with a autoincrement field in MySQL?
- How does a MYSQL Self-Join Work?
- How to move columns in a MySQL table?
- access denied for load data infile in MySQL
- Where to change the value of lower_case_table_names=2 in XAMPP on Windows?
- What is the best MySQL collation for German language
- Whats the fastest way to lookup big tables for points within radius MySQL (latitude longitude)
- quick selection of a random row from a large table in mysql
- How can we find gaps in sequential numbering in MySQL?
- Optimization of MySQL search using “like” and wildcards
- NodeJS MySQL Dump
- Why do I need “OR NULL” in MySQL when counting rows with a condition
- Find date range overlaps within the same table, for specific user MySQL
- MySQL on delete cascade. Test Example
- Return Last ID (IDENTITY) On Insert row VB.NET MySQL
- Database Historization