Re: Dealing with complex queries

Поиск
Список
Период
Сортировка
От Francisco Reyes
Тема Re: Dealing with complex queries
Дата
Msg-id 20030204094134.O60664-100000@zoraida.natserv.net
обсуждение исходный текст
Ответ на Re: Dealing with complex queries  (Bruno Wolff III <bruno@wolff.to>)
Ответы Re: Dealing with complex queries
Re: Dealing with complex queries
Список pgsql-general
On Tue, 4 Feb 2003, Bruno Wolff III wrote:

> On Mon, Feb 03, 2003 at 16:32:10 -0500,
>   Francisco Reyes <lists@natserv.com> wrote:
> > Any hints suggestions on dealing with complex queries.
>
> >         substring(ppl.carried_as from 1 for 3)
> >                 = substring(jc.last from 1 for 3) and
>
> Joining on substrings is a good sign that your design needs rethinking.

The tables in the substring comparison are some of our tables compared
to tables supplied by another company. It is a fact that the names don't
always match and have variations.

The whole excersise is to match by names to then populate our table with
their keys so in the future we can match by keys in feeds we receive from
them.


В списке pgsql-general по дате отправления:

Предыдущее
От: "Cleiton Luiz Siqueira"
Дата:
Сообщение: Re: Kernel Error
Следующее
От: Bruno Wolff III
Дата:
Сообщение: Re: Dealing with complex queries