If you have a field that holds the email you can include a LIKE clause in your query. E.g. to find all Hotmail address:
SELECT emailAddress FROM table WHERE emailAddresss LIKE '%hotmail%';
The % in the query indicate where hotmail should be in the string. By including % at the start and end you are saying that hotmail could appear anywhere in the email address. hotmail% would mean that hotmail is the start of the string.
hericles
Practically a Posting Shark
823 posts since Nov 2007
Reputation Points: 136
Solved Threads: 168