I think you can write a UDF to validate email addresses. Here is link http://vyaskn.tripod.com/handling_email_addresses_in_sql_server.htm
On Tue, 8 Feb 2005 12:55:42 -0600, Eric Creese <[EMAIL PROTECTED]> wrote: > I want to verify email addresses that are entered into one of my apps. > Unfortunately I already inherited close to 100k email address. So I want to > do the following in SQL via a stored procedure so I can write the bad > addresses out to an error table. Need to check if there is an @ sign, if the > TDL is valid from the list I have from ICANN. When I check through each like > statement but that is not going to work. Any other ideas? This can not be > done through a CF page but eventually the result will b posted to one. > > SELECT DISTINCT personid,email > FROM People > WHERE MbrExpireDate > '2/1/2005' > AND (email not like '[EMAIL PROTECTED]' > OR email NOT LIKE '%.AC' > .... > OR email NOT LIKE '%.ZW') > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:193700 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54