trigger - help newbie!
From: sien <linda_68_at_hotmail.com>
Date: 16 Aug 2001 01:29:38 -0700
Message-ID: <31d3e92a.0108160029.27f5e54b_at_posting.google.com>
Date: 16 Aug 2001 01:29:38 -0700
Message-ID: <31d3e92a.0108160029.27f5e54b_at_posting.google.com>
Hi!
CREATE OR REPLACE TRIGGER CHG_DATE_TEST
after INSERT ON emp
BEGIN
end CHG_DATE_TEST;
it doesn't work, the trigger doesn't change the row I want to update
I'm a newbie in PL/SQL.
I'm trying to write a trigger which has to update a specific row from
a table after someone insert a new row into the same table.
This is my code:
update emp
set emp.hiredate=sysdate
where (empno=7566);
(inserted)row.
Thanks for any help.
Sien Received on Thu Aug 16 2001 - 10:29:38 CEST