update part of a column record
update part of a column record
От:
Marc Fromm <Marc.Fromm@wwu.edu>
Дата:
I have a column that contains user email addresses. I need to update all email address in the column that end with @cc.edu to @ss.edu and retain the information (the user name) that exists before the @ symbol. Is there an update query that can edit part of a column record?
Marc
Re: update part of a column record
От:
Aras Angelo <araskoktas@gmail.com>
Дата:
UPDATE table SET column=REPLACE(column,'@cc.edu','@somethingelse.com');
change "column" to field name respectively.
change "column" to field name respectively.