Allow update of variables in UPDATE statements. For example: UPDATE TABLE foo SET @a=a+b,a=@a, b=@a+c.
ukgimp
4:38 pm on Nov 5, 2003 (gmt 0)
This one looks like what I was thinking of
REPLACE(str,from_str,to_str) Returns the string str with all occurrences of the string from_str replaced by the string to_str: mysql> SELECT REPLACE('www.mysql.com', 'w', 'Ww'); -> 'WwWwWw.mysql.com'
coopster
5:17 pm on Nov 5, 2003 (gmt 0)
I'm sorry ukgimp, I read the thread and for some reason thought you were trying to update a variable you had SET. Post #3 is in regards to updating USER variables, completely different from what you want to do:
update table SET field=replace(field, ' ', '_');
I must be overly tired, better stay off the boards today ;)