Code Snippet - SQL - Replacing line breaks with SQL query
If you have line breaks in an SQL string field and you want to replace or remove them, you can use the following code (bold marked): UPDATE details SET user_text = REPLACE(REPLACE(user_text, char(10),
char(32)), char(13), char(32));
No comments:
Post a Comment