CHECK col A not NULL if col B='x'

Поиск
Список
Период
Сортировка
От T E Schmitz
Тема CHECK col A not NULL if col B='x'
Дата
Msg-id 41596EDA.4030909@numerixtechnology.de
обсуждение исходный текст
Ответы Re: CHECK col A not NULL if col B='x'
Re: CHECK col A not NULL if col B='x'
Список pgsql-sql
Hello,

Is it possible to set up a table CHECK, which ensures that column A is 
NOT NULL if column B = 'x' ?

-- 


Regards/Gruß,

Tarlika Elisabeth Schmitz


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

Предыдущее
От: Achilleus Mantzios
Дата:
Сообщение: Re: Best way to know if there is a row
Следующее
От: Tom Lane
Дата:
Сообщение: Re: FOREIGN KEY and AccessExclusiveLock