Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Email Database Question

Status
Not open for further replies.
Sep 2, 2009
6
US
I have a database with a lot of emails in it. The emails are in a field called EMAIL. I want to get rid of all yahoo email addresses. How do I delete any emails that end with "@YAHOO.COM"?

Just in case you were wondering, all the emails are upper cased. Thanks in advance for your help.

Jarrett
 
Code:
USE MyData IN 0 EXCLUSIVE
SELECT MyData
DELETE FOR "@YAHOO.COM" $ UPPER(Email)
PACK
USE

Good Luck,
JRB-Bldr
 
It worked...You are the man JRB-BLDR. Thanks again for your help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top