Re: Triggers - need help !!!

Поиск
Список
Период
Сортировка
От Mischa Sandberg
Тема Re: Triggers - need help !!!
Дата
Msg-id 3eSGc.8923$eO.7106@edtnps89
обсуждение исходный текст
Ответ на Re: Triggers - need help !!!  ("Pradeepkumar, Pyatalo (IE10)" <Pradeepkumar.Pyatalo@honeywell.com>)
Список pgsql-sql
"Richard Huxton" <dev@archonet.com> wrote in message
news:40EBD891.3050205@archonet.com...
> Pradeepkumar, Pyatalo (IE10) wrote:
> > IF UPDATE(CreateTime) THEN
> > ....
> > ....
> > END IF;
> >
> > Is this syntax correct.
>
> No, and I don't recall seeing anything like it in the manuals.

... and it's always an excellent time to read them ...

> IF OLD.CreateTime <> NEW.CreateTime THEN
>   ...

... being mindful of the case where CreateTime might be NULL ...




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

Предыдущее
От: "B.W.H. van Beest"
Дата:
Сообщение: How to filter on timestamps?
Следующее
От: Gerwin Philippo
Дата:
Сообщение: Re: append columns that are null