Received: from centrin.net.id (janus.centrin.net.id [202.146.241.33]) by postgresql.org (8.11.3/8.11.1) with ESMTP id f5T5aea06525 for ; Fri, 29 Jun 2001 01:36:41 -0400 (EDT) (envelope-from andysamuel@geocities.com) Received: from unspecified.host ([202.146.238.140]) by centrin.net.id (8.11.3/8.11.3) with SMTP id f5T5V4v07354 for ; Fri, 29 Jun 2001 12:31:04 +0700 Received: from 192.168.0.1 ([192.168.0.1]) by 192.168.0.1 (WinRoute Pro 4.1.25) with SMTP; Fri, 29 Jun 2001 12:38:53 +0700 Message-ID: <000501c1005d$c8547020$0100a8c0@foserver> From: "Andy Samuel" To: Subject: Trigger Date: Fri, 29 Jun 2001 12:38:53 +0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 X-Archive-Number: 200106/1196 X-Sequence-Number: 11830 How do I create a trigger on a table if a certain row is updated ? For example, a table called DefaultValue with : ModuleId char(10), FieldId char(10), DefVal char(3) If I update the table 'update DefaultValue set defval='OFF' where FieldId='MODULESTATUS' then it will fire the event. Thank you in advance Andy