DELIMITER $$
DROP TRIGGER `coba`.`tr_Insert`$$
CREATE TRIGGER `coba`.`tr_Insert` BEFORE INSERT on `coba`.`tbl_pertama`
FOR EACH ROW
BEGIN
insert into tbl_kedua values (new.kode,new.nama);
END$$
DELIMITER ;
Monday 9 April 2012
Subscribe to:
Post Comments (Atom)
contohnya tambah lagi mass ..
ReplyDeletetrus kasih penjelasan juga dunkk ..