Re: data dependent sequences?

Поиск
Список
Период
Сортировка
От Andrew Sullivan
Тема Re: data dependent sequences?
Дата
Msg-id 20070717150046.GC21688@phlogiston.dyndns.org
обсуждение исходный текст
Ответ на Re: data dependent sequences?  ("Stuart" <smcg2297@frii.com>)
Список pgsql-sql
On Tue, Jul 17, 2007 at 07:34:26AM -0600, Stuart wrote:
> I am not looking for gapless sequences.  The reason I
> want to do this is the "typ" column is actually an indicator
> of the source of the rest of the infomation in the row.

Why do you need the sequence to be 1. . .n for each typ, then?  If
they're just there to preserve order, one sequence will work just
fine.  Otherwise, I think you have a normalisation problem.

A

-- 
Andrew Sullivan  | ajs@crankycanuck.ca
A certain description of men are for getting out of debt, yet are
against all taxes for raising money to pay it off.    --Alexander Hamilton


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

Предыдущее
От: Richard Broersma Jr
Дата:
Сообщение: Re: data dependent sequences?
Следующее
От: "Stuart"
Дата:
Сообщение: Re: data dependent sequences?