Column References

Поиск
Список
Период
Сортировка
От Epps, Aaron M.
Тема Column References
Дата
Msg-id AFB1612D9C37D21182E0006008A1F6F813D30E8C@excsrv14.mayo.edu
обсуждение исходный текст
Ответы Re: Column References  (Bruno Wolff III <bruno@wolff.to>)
Список pgsql-admin
    I've got a question about references, is it possible to specify criteria for the Reference.  For example, Table 1 has Field1 That References Field1 in Table2, However I only want Field 1 in Table 1 to reference the Records in Table2 that have the Valid Field set to TRUE.  In other words, I don't want the user to be able to enter invalid records from table 2 into field 1 in table 1.  Is there a different way of accomplishing the same thing?
 

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

Предыдущее
От: "PostgreSQL"
Дата:
Сообщение: SELECT COUNT(*)... returns 0 ROWS
Следующее
От: Jeff
Дата:
Сообщение: Re: SELECT COUNT(*)... returns 0 ROWS