Question about check constraints

Поиск
Список
Период
Сортировка
От Kashmira Patel \(kupatel\)
Тема Question about check constraints
Дата
Msg-id 18AE59788A3FC640A367E5652E664D8001731288@xmb-sjc-237.amer.cisco.com
обсуждение исходный текст
Ответы Re: Question about check constraints  (Michael Fuhr <mike@fuhr.org>)
Список pgsql-sql

 
Hi all,
  I have a table where two columns have two different check constraints associated with them. When I update one column, the check constraint on the other column is also executed. Is there a way to avoid this? I want to check only for the condition defined for the column being updated.
 
Thanks,
Kashmira

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

Предыдущее
От: andrew
Дата:
Сообщение: Re: filtering after join
Следующее
От: Michael Fuhr
Дата:
Сообщение: Re: Question about check constraints