Re: change a field

From: "A(dot)Bhuvaneswaran" <bhuvan(at)symonds(dot)net>
To: Patrick Meylemans <Patrick(dot)Meylemans(at)wtcm(dot)be>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: change a field
Date: 2003-09-15 04:57:31
Message-ID: Pine.LNX.4.44.0309151026020.1123-100000@Bhuvan.bksys.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

> I want to change a field of a record after the modification of another
> field of the same record or during an insert of a new record.

You can easily accomplish this in a BEFORE trigger. It is applicable for
both insert & update.

regards,
bhuvaneswaran

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Richard Huxton 2003-09-15 08:33:38 Re: Plz, what is the most "correct" method
Previous Message Rudi Starcevic 2003-09-15 00:38:41 Re: Linked Lists example.