Painting Blue Code
Simple, self-explanatory code snippets.
2014-01-11
MySQL - Trim carriage returns (or any characters)
In the following formula '\n' represents a carriage return. You may also want to use '\r' or a combination of both, depending on the type of carriage return (unix/windows).
trim
(
BOTH
'\n'
from
`FIELD_NAME` )
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment