Re: ALTER TABLE

Поиск
Список
Период
Сортировка
От A.Bhuvaneswaran
Тема Re: ALTER TABLE
Дата
Msg-id Pine.LNX.4.44.0306051251370.2462-100000@Bhuvan.bksys.co.in
обсуждение исходный текст
Ответ на ALTER TABLE  (Martins Zarins <mark@vestnesis.lv>)
Список pgsql-admin
> work=# ALTER TABLE rdu ADD CONSTRAINT rdu_finish_time CHECK ((start_time <=
> finish_time) OR finish_time IS NULL);
> ERROR:  AlterTableAddConstraint: rejected due to CHECK constraint
> rdu_finish_time

I can say that the field, finish_time have the values which conflict with
the check constraint you define. ie.. Records exist with start_time
> finish_time, so update the records and try.

regards,
bhuvaneswaran


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

Предыдущее
От: "Anagha Joshi"
Дата:
Сообщение: Urgent Help Needed !!!!!!!
Следующее
От: "Victor Yegorov"
Дата:
Сообщение: Re: ALTER TABLE