Thursday, May 3, 2012

SQL Remove BLANK spaces in varchar field

10:12 AM

update formers set
    former_title = replace(former_title, ' ', '');

update formers set
    former_title = replace(former_title, '    ', '');

update formers set
    former_title = replace(former_title, '    ', '');


http://forums.mysql.com/read.php?10,376702,377885#msg-377885

0 comments