Follow Up !
Could be anything!
Saturday, September 22, 2012
MySQL String Replace
Ref.
http://stackoverflow.com/questions/1806949/mysql-query-to-replace-spaces-in-a-column-with-underscores
update
photos
set
filename
=
replace
(
filename
,
' '
,
'_'
);
ie, you search for ' ' in the column
filename
and use '_' instead ; and put the result back into
filename
.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment