MySQL Forums
Forum List  »  MySQL Administrator

Re: how to write triggers on two different databases
Posted by: Aftab Khan
Date: April 01, 2009 05:13AM

mysql> delimiter //
mysql> create trigger ven after insert on student.just1
for each row
begin
insert into trigdb.t1
set name=new.name and num=new.num;
end;
//
mysql>delimiter ;

Options: ReplyQuote


Subject
Written By
Posted
Re: how to write triggers on two different databases
April 01, 2009 05:13AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.