Friday, February 16, 2007

Find and Replace in Mysql

Simple but very useful MySQL trick...

UPDATE `table` SET `field` = REPLACE (
`field` ,
'{string to find}',
'{replacement string}'
)

0 comments: