Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-07-24 : 08:53:16
|
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
313 Posts |
Posted - 2002-07-24 : 15:31:13
|
People, I updated this article ( [url]http://vyaskn.tripod.com/handling_email_addresses_in_sql_server.htm[/url] ) 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: [url]http://vyaskn.tripod.com/top_level_domain_names_country_codes.htm[/url]Have fun!Vyas--HTH,Vyashttp://vyaskn.tripod.com |
|
|
joshgeake
Starting Member
2 Posts |
Posted - 2010-11-22 : 06:45:18
|
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/ |
|
|
|
|
|