If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > General > Database Concepts & Design > International Address

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-17-04, 13:49
cmptrguru7 cmptrguru7 is offline
Registered User
 
Join Date: Feb 2002
Posts: 43
International Address

I am looking for the best way to design a database with the ability to store international addresses as well as US addresses. Can anyone point me in the direction of sample code or a sample design? If there is a list of all countries and postal information that would be nice too, but for the most part I just need to create the format.
Reply With Quote
  #2 (permalink)  
Old 03-17-04, 13:58
Pat Phelan Pat Phelan is offline
Resident Curmudgeon
 
Join Date: Feb 2004
Location: In front of the computer
Posts: 12,605
Check the International Postal Union for details on what constitute valid addresses. You can use that information to create a schema that suits you.

-PatP
Reply With Quote
  #3 (permalink)  
Old 03-17-04, 14:24
cmptrguru7 cmptrguru7 is offline
Registered User
 
Join Date: Feb 2002
Posts: 43
Thank you I will check it out.
Reply With Quote
  #4 (permalink)  
Old 03-21-04, 21:45
cybershadow_jp cybershadow_jp is offline
Registered User
 
Join Date: Dec 2003
Location: Tokyo Japan
Posts: 26
Re: International Address

Quote:
Originally posted by cmptrguru7
I am looking for the best way to design a database with the ability to store international addresses as well as US addresses. Can anyone point me in the direction of sample code or a sample design? If there is a list of all countries and postal information that would be nice too, but for the most part I just need to create the format.
i remember someone once did a design to flexibly handle all kinds of addresses - be it a US address, or an address from Timbuktu.

each address record would actually occupy several records in the database, and each would have a type flag to form a PK. some sort of "linked-list" design.

he adds that he remembers this design from an IBM whitepaper on how to design databases for financial institutions
Reply With Quote
  #5 (permalink)  
Old 03-30-04, 01:16
cybershadow_jp cybershadow_jp is offline
Registered User
 
Join Date: Dec 2003
Location: Tokyo Japan
Posts: 26
Re: International Address

Quote:
Originally posted by cmptrguru7
I am looking for the best way to design a database with the ability to store international addresses as well as US addresses. Can anyone point me in the direction of sample code or a sample design? If there is a list of all countries and postal information that would be nice too, but for the most part I just need to create the format.
guess i remembered how it is done

i had attached an ERD for your perusal
Attached Images
File Type: jpg temp.jpg (23.0 KB, 78 views)
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On