SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 Article: Working with email addresses in SQL Server!
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

AskSQLTeam
Ask SQLTeam Question

USA
0 Posts

Posted - 07/24/2002 :  08:53:16  Show Profile  Visit AskSQLTeam's Homepage  Reply with Quote
Narayana Vyas Kondreddi submitted "This article shows you how to design the storage for email addresses, how to validate email addresses, how to write different types of queries on email addresses efficiently, using computed columns and indexes. It also covers the security aspect of dealing with email addresses."

Article Link.

VyasKN
SQL Server MVP & SQLTeam MVY

United Kingdom
313 Posts

Posted - 07/24/2002 :  15:31:13  Show Profile  Visit VyasKN's Homepage  Reply with Quote
People, I updated this article ( http://vyaskn.tripod.com/handling_email_addresses_in_sql_server.htm ) with another aspect and few more queries:

"Querying the email addresses for country information"

To be able to query country information from email addresses, first we need a table with country codes and country names. So, I uploaded INSERT statements that populate a country table with 252 country codes and country names: http://vyaskn.tripod.com/top_level_domain_names_country_codes.htm

Have fun!
Vyas


--
HTH,
Vyas
http://vyaskn.tripod.com
Go to Top of Page

joshgeake
Starting Member

2 Posts

Posted - 11/22/2010 :  06:45:18  Show Profile  Reply with Quote
I know this is a very old thread but it still seems to be a popular read so I thought I'd add to it.

I wrote a script a while ago that corrects the domains...

Basically it cross references domains that have email opens recorded against them and corrects several human errors. So homail(missing character)/htomail(swapped character)/jotmail(close proximity keyboard button) are all corrected.

Details are too long to write here really so have a look at this link...

http://www.geakeit.co.uk/2010/07/30/the-ultimate-database-email-address-validatingprocessingcorrecting-script/
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.06 seconds. Powered By: Snitz Forums 2000