jhowardcarter
MIS
Hi,
Within a table (dbo.accounts) of over 190k records, I have an email address field (varchar(50), null), within which is all sorts of data (most not email addresses). I'm looking for a method the clear the data within the field which is not an email address, and return this to a NULL value.
It's not clean, but I'm happy to trust a text string containing an "@" sign is an email, and delete everything else.
Can this be acheived within a select/update query?
Thanks, in advance.
Within a table (dbo.accounts) of over 190k records, I have an email address field (varchar(50), null), within which is all sorts of data (most not email addresses). I'm looking for a method the clear the data within the field which is not an email address, and return this to a NULL value.
It's not clean, but I'm happy to trust a text string containing an "@" sign is an email, and delete everything else.
Can this be acheived within a select/update query?
Thanks, in advance.