Hi ALL,
I wonder if possible at all to use replace() together with regex in update statement. I want to be able to update a field of string values and replace a 'dash' character with a space in the string.
Something like:
UPDATE table SET column =  replace(column, regex '%-%', ' ') where id = xxx;

Obviously, regex doesn't work inside of replace().
Any suggestions, guys?
Thanks,
Igor
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/mysql?unsub=arch...@jab.org

Reply via email to