Removing line breaks and tabs in a MySQL column

Sometimes it happens that you have unwanted tabs, line breaks, paragraphs, etc. in a table column. With the following code snippet you can clean the value of the column quickly:
[sql]update mytable
set mycolumn = REPLACE(REPLACE(REPLACE(mycolumn, ‘t’, ”), ‘r’, ”), ‘n’, ”)[/sql]

How to write an engaging email subject line
Email open rates are perhaps the most widely recognized email marketing metrics out there. 1 in 3 people open up emails purely based on what is in the subject line. Crafting the perfect email subject line can be daunting, and the last thing you want to do is deter your readers because…

New in Helpmonks — October 2017
The last few weeks have been busy here at Helpmonks. We all gathered for a team meeting in Germany, spent a great time together and also managed to release many new options to enhance your productivity in Helpmonks. Here are some of the highlights: Sort Sorting is now available in…

Customer Service Experience: A Guide for Small Business Owners
84% of customers agree that customer service is one of the most important factors that they take into consideration when they're deciding whether or not to buy from a company. Alone, this proves just how impactful and important customer service experience is to today's customers. That's why we're talking about…

OpenBD and MongoDB: Can't get easier then this
I'm currently working on a project that uses MongoDB (yes, that's the awesome NoSQL database everyone talks about). Now, my favorites language of choice (CFML) and especially my favorite open source CFML engine OpenBD, has support for MongoDB built in which makes it a snap to use for any ColdFusion…

MySQL replication - Query caused different errors on master and slave
MySQL replication works quite reliable most of the time. But from time to time, especially if you change network, servers or the master has gone away the slave will get in a "weird" state. Today, I've encountered the following error message on one of the slaves; Query caused different errors…