Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / March 2007

Tip: Looking for answers? Try searching our database.

how to standardize addresses

Thread view: 
John Smith - 21 Mar 2007 17:30 GMT
I am looking at standardizing addresses in an Oracle database. I think the
best way to do this is going to be a java utility. Before I go and do a
whole bunch. Does anyone know of any code that has already been writen to do
such a task? Either in java or PL/SQL.

I don't need to verfiy the address exists or is correct, just standardize it
according to USPS publication 28, or something like that.

Anyone done such a task?

Thanks
Brandon McCombs - 22 Mar 2007 02:21 GMT
> I am looking at standardizing addresses in an Oracle database. I think the
> best way to do this is going to be a java utility. Before I go and do a
[quoted text clipped - 7 lines]
>
> Thanks

What's wrong with enforcing the format within the input interface?

Create your GUI so that it creates addresses that conform to the
standard format. Use comboboxes so you dictate how a street can be
abbreviated or an apartment number can be specified.  If you can't do
that then you need to specify your problem a bit better. I doubt java is
going to be fast enough for you (then again, maybe you don't need speed).
John Smith - 22 Mar 2007 16:30 GMT
We don't have a gui. We have multiable ways of importing data into the
database.

Speed isn't import.

We do inforce fields ie Street, city, state zip.

But we need to format the fields ie Street needs to be checked for North or
West and changed to N W you get my point.

There is a publication that the USPS wrote on standard formating for
addresses. And some comerical products that do formating and validating. But
we don't need the validating address which is more costly.

Speed is not a huge deal as we can spread the processes to other machines as
well.

Thanks

>> I am looking at standardizing addresses in an Oracle database. I think
>> the best way to do this is going to be a java utility. Before I go and do
[quoted text clipped - 15 lines]
> to specify your problem a bit better. I doubt java is going to be fast
> enough for you (then again, maybe you don't need speed).
Mark Thornton - 22 Mar 2007 20:21 GMT
> I am looking at standardizing addresses in an Oracle database. I think the
> best way to do this is going to be a java utility. Before I go and do a
[quoted text clipped - 7 lines]
>
> Thanks

If the database might contain any international addresses, then I
suggest that you don't bother trying to standardise them. Your chances
of getting it right are near zero.

Mark Thornton


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.