Para substituir
all spaces
:UPDATE `table` SET `col_name` = REPLACE(`col_name`, ' ', '')
Para remover todas as
tabs
personagens :UPDATE `table` SET `col_name` = REPLACE(`col_name`, '\t', '' )
Para remover todas as
new line
personagens :UPDATE `table` SET `col_name` = REPLACE(`col_name`, '\n', '')
http://dev.mysql.com/doc /refman/5.0/en/string-functions.html#function_replace
Para remover
first and last space(s)
da coluna:UPDATE `table` SET `col_name` = TRIM(`col_name`)
http://dev.mysql.com/doc /refman/5.0/en/string-functions.html#function_trim