From: Dan MacNeil <dan@ltc.org>
To: Matthew Hagerty <matthew@brwholesale.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Removing duplicates
Date: Tue, 26 Feb 2002 11:44:45 -0500
Message-ID: <003a01c1bee4$e99372e0$b11a9318@prometheus> (raw)
References: <5.1.0.14.2.20020226095955.00b17f10@imap.brwholesale.com>
There is software (saddly not open source) that standardizes your
addresses. Once your addresses are standardized, you can check them
for duplicates. There is also shrinkwrapped software to eleminate
duplicates. It might be cheaper & quicker to buy this software...
You should probably poke around on www.usps.gov
Some links I came up with.
http://www.casscertification.net/cassfaq.htmlhttp://www.usps.com/ncsc/addressservices/addressqualityservices/addres
scorrection.htm
http://search.dmoz.org/cgi-bin/search?search=CASS+postal
----- Original Message -----
From: "Matthew Hagerty" <matthew@brwholesale.com>
To: <pgsql-sql@postgresql.org>
Sent: Tuesday, February 26, 2002 10:10 AM
Subject: [SQL] Removing duplicates
> Greetings,
>
> I have a customer database (name, address1, address2, city, state,
zip) and
> I need a query (or two) that will give me a mailing list with the
least
> amount of duplicates possible. I know that precise matching is not
> possible, i.e. "P.O. Box 123" will never match "PO Box 123" without
some
> data massaging, but if I can isolate even 50% of any duplicates,
that would
> help greatly.
>
> Also, any suggestions on which parameters to check the duplicates
for? My
> first thoughts were to make sure there were no two addresses the
same in
> the same zip code. Any insight (or examples) would be greatly
appreciated.
>
> Thank you,
> Matthew
>
>
> ---------------------------(end of
broadcast)---------------------------
> TIP 1: subscribe and unsubscribe commands go to
majordomo@postgresql.org
>
>
>
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: dan@ltc.org, matthew@brwholesale.com
Subject: Re: Removing duplicates
In-Reply-To: <003a01c1bee4$e99372e0$b11a9318@prometheus>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox