Segismundo <[EMAIL PROTECTED]> wrote:
> Hi, all.
> 
> I've a table with a varchar column, and I need replace a character on 
> the column, but this character may be on someplace on the field.
> Is it possible to change or delete it? What will be the sintax?
> 

If you want to replace all occurrences of some character, use REPLACE() function. For 
example:

        UPDATE table SET column=REPLACE(column,'a','b') WHERE ..

http://www.mysql.com/doc/en/String_functions.html



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.net http://www.ensita.net/
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /    Victoria Reznichenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.net
       <___/   www.mysql.com





-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to