Brad Tilley <[EMAIL PROTECTED]> wrote:
>
> Is there a way to do regex search are replace on all entries in a mysql field?
> Or, a way to uppercase or lowercase all characters for all entries in a
> filed? Some of the fields are varchars with numbers and letters. In my
> particular case, I have a field of serial numbers some of which are all caps
> some of which are not. Also the vendor name may be DELL for one entry and
> dell on another. We're standardizing the input to avoid this mess in the
> future, but I'd like to clean up what's current present. All tips are
> appreciated.
>
Take a look at UPPER(), LOWER(), REPLACE() functions in MySQL. They may help you:
http://dev.mysql.com/doc/mysql/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]