nathanharcup
MIS
Hi All,
I am try to convert the below SQL trigger into PLSQL, can anyone help?
CREATE TRIGGER copy on table1 for INSERT
AS
BEGIN
IF UPDATE (COLUMN1)
UPDATE table1
SET column2 = t.column2
SET column3 = t.column3
SET column4 = t.column4
FROM table1 n, table2 t
WHERE t.column1 = n.column1
end
I am try to convert the below SQL trigger into PLSQL, can anyone help?
CREATE TRIGGER copy on table1 for INSERT
AS
BEGIN
IF UPDATE (COLUMN1)
UPDATE table1
SET column2 = t.column2
SET column3 = t.column3
SET column4 = t.column4
FROM table1 n, table2 t
WHERE t.column1 = n.column1
end