how to write triggers on two different databases
hi every one,
i am trying to get a trigger on two different databases within two systems.
i am getting like this when i am trying to do like this
mysql> create [definer = {root@'10.0.2.2'}] trigger ven after insert on student.just1 for each row begin insert into trigdb.t1 set name=new.name and num=new.num; end;
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '[definer = {root@'10.0.2.2'}] trigger ven after insert on student.just1 for each' at line 1
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'end' at line 1
mysql>
can u give me any valuable reply...
Subject
Written By
Posted
how to write triggers on two different databases
March 28, 2009 03:29AM
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.