Re: abs() does not exists..

Поиск
Список
Период
Сортировка
От Bruno Wolff III
Тема Re: abs() does not exists..
Дата
Msg-id 20010613094546.A21307@wolff.to
обсуждение исходный текст
Ответ на Re: abs() does not exists..  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-general
On Wed, Jun 13, 2001 at 12:11:42AM +0200,
  Peter Eisentraut <peter_e@gmx.net> wrote:
> mazzo writes:
>
> > Hi all..i'm trying to create a trigger that fires before i insert a value into a column and if the value i insert
isnegative, it will change it to positive... 

Couldn't you do this using a rule to update the table and a constraint on
the table to prevent bad data from getting into the table without using the
rule?

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

Предыдущее
От: Travis Bauer
Дата:
Сообщение: 7.1.2 temporary file area
Следующее
От: Martín Marqués
Дата:
Сообщение: Re: [SQL] ORDER BY what?