MySQL Forums
Forum List  »  Newbie

Truncate email address in username field?
Posted by: Ken Statham
Date: June 28, 2005 04:17PM

Hi,

I imported a bunch of users using their email address as the username. I need to update every user who has an email address in the username field, to convert the username to just what is before the @ symbol.

Example:

user@host.com becomes user

and

user.name@host.com becomes user.name

Can anybody help with this?

Thanks in advance!
Ken

Options: ReplyQuote


Subject
Written By
Posted
Truncate email address in username field?
June 28, 2005 04:17PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.