sql - MySQL replace all whitespaces with - -
how remove whitespaces row? see here alot of same question answers ar use replace option. replace work strip 1 spaces, not all.
ex: b c become a-b-c
thanks.
this can achieved following mysql function:
select replace( table.field, ' ', '-' ) table;
this should replace whitespace -
Comments
Post a Comment