Re: standard schemas for addresses, others?

Поиск
Список
Период
Сортировка
Искать
От
Peter Eisentraut
Тема
Re: standard schemas for addresses, others?
Дата
Msg-id
Pine.LNX.4.44.0301231943540.789-100000@localhost.localdomain
Ответ на
Список
Дерево обсуждения
standard schemas for addresses, others? Dennis Gearon <gearond@cvc.net>
Re: standard schemas for addresses, others? Bruno Wolff III <bruno@wolff.to>
Re: standard schemas for addresses, others? will trillich <will@serensoft.com>
Re: standard schemas for addresses, others? Dennis Gearon <gearond@cvc.net>
Re: standard schemas for addresses, others? will trillich <will@serensoft.com>
Re: standard schemas for addresses, others? Dennis Gearon <gearond@cvc.net>
Re: standard schemas for addresses, others? will trillich <will@serensoft.com>
Re: standard schemas for addresses, others? Peter Eisentraut <peter_e@gmx.net>
Re: standard schemas for addresses, others? Dennis Gearon <gearond@cvc.net>
Dennis Gearon writes:

> Are there any sites with 'standard schemas' for certain, repetitive
> database needs? For example, addresses and their components. Does anyone
> have a schema for addresses that will work for the USA *AND* internation
> addresses?

No chance.  You need to cut a compromise between structure and
flexibility.  If you just want to save, say, shipping addresses, then make
them free text -- person name, address information, country.  (Possibly
divide the address information into street'ish and city'ish, but that's
already pushing it.)  If you need the addresses to be structured so you
can do data analysis then you need to define your actual needs.  Probably
you don't have customers *everywhere*.

-- 
Peter Eisentraut   peter_e@gmx.net

В списке pgsql-general по дате отправления
От: Dennis Gearon
Дата:
Сообщение: Re: ORDER BY 'criteria'
От: Dennis Gearon
Дата:
FAQ