Is there a way to remove all whitespaces from a specific column for all values?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To replace
all spaces:To remove all
tabscharacters :To remove all
new linecharacters :http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_replace
To remove
first and last space(s)of column :http://dev.mysql.com/doc/refman/5.0/en/string-functions.html#function_trim
and if you want remove all type of spaces, you can combine all of this functions :