Code Genic is a blog which provides the codes for the daily life uses. All the codes are mostly for college related Projects or Lab work.
CREATE OR REPLACE TRIGGER t1
after INSERT ON test1
for each row
declare
a number;
BEGIN
a:= :new.no1 + :new.no2;
insert into test2 values(a);
dbms_output.put_line('Data Inserted');
END;
No comments:
Post a Comment