weird(to me) request

Поиск
Список
Период
Сортировка
От Larry Rosenman
Тема weird(to me) request
Дата
Msg-id 294260000.1064515888@lerlaptop-red.iadfw.net
обсуждение исходный текст
Ответы Re: weird(to me) request
Re: weird(to me) request
Список pgsql-sql
I have the following rows (in addition to others):

acct_num text,
master_acct_num text,


These are in the same table.

What I want to enforce is that if the master_acct_num field is NOT NULL (it
can be NULL, and
that's fine), that the value appears in some row as acct_num.  acct_num has
a unique index on it, so that's fine.

I'm not sure how to do this....

Thanks!

LER


--
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 972-414-9812                 E-Mail: ler@lerctr.org
US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749

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

Предыдущее
От: elein
Дата:
Сообщение: Re: Large Objects and Bytea
Следующее
От: Adam Wieckowski
Дата:
Сообщение: Re: weird(to me) request