Not null constraint in postgre

Поиск
Список
Период
Сортировка
От Chamath Sajeewa
Тема Not null constraint in postgre
Дата
Msg-id CACpofejb+KOskR1Dn=fPoi4qAiDgOXP2RKEdtKJK7OFwJ2ebbw@mail.gmail.com
обсуждение исходный текст
Ответы Re: Not null constraint in postgre
Re: Not null constraint in postgre
Список pgsql-novice
Hi,
There is a column in my table with not null constraint. Default value is set to 0 for that column. In my query, column value is set to null. When i try to execute that query in pgsql, it is getting failed due to constraint violation. Any idea? This is working in oracle.
Thank You!

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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: deviation of 12 from 10 or 11
Следующее
От: "Amit S."
Дата:
Сообщение: Re: Not null constraint in postgre