Results 1 to 3 of 3
Jan 10, 2013, 22:31 #1
Need help creating a simple sql query
I need to search for a specific domain name is part of a random generated email that has been put into a SQL database. So an email address in one record may be firstname.lastname@example.org and the next email@example.com and so on. They will all have the invalid.com in common. So if i can search the table in this column for emails that have "invalid.com" in the email address and then I want to set that field to NULL.
i think I have part of it figured out but I need help with the last part. if not, I am open for the correct way to do this.
UPDATE q2gbj_users SET email = null WHERE (need help with this part)
Jan 11, 2013, 04:26 #2
- Join Date
- Jul 2002
- Toronto, Canada
- 60 Post(s)
- 3 Thread(s)
Jan 12, 2013, 03:00 #3
Thank you sir. Worked like a charm.