problem in Trigger - Mailing list pgsql-admin

From Ramesh PAtel
Subject problem in Trigger
Date
Msg-id 3E943B25.31935.11FEE93@localhost
Whole thread Raw
Responses Re: problem in Trigger  ("A.Bhuvaneswaran" <bhuvansql@myrealbox.com>)
List pgsql-admin
Sir


I have two table  EMP_MST and  EMP_TRANS

field of EMP_MST
emp_no, emp_nm, dept_cd

field of EMP_TRANS
emp_no, trans_dt, olddept_cd, newdept_cd


Now i want to Trigger on EMP_TRANS when  data INSERT  AFTER event
when insert one row in EMP_TRANS  table that time i want to UPDATE  column
EMP_MST.dept_cd   with latest value of  EMP_TRANS.newdept_cd  by TRIGGER.

Please give some reply.

I am looking forwared to your fevarable reply.

Ramesh Patel

ramesh@banas.guj.nic.in


pgsql-admin by date:

Previous
From: "A.Bhuvaneswaran"
Date:
Subject: Re:
Next
From: "A.Bhuvaneswaran"
Date:
Subject: Re: problem in Trigger