MySQL Forums
Forum List  »  Triggers

hi to everybory
Posted by: Francisco Diaz
Date: March 15, 2006 05:27PM

can You Help me ?


this is the quiestion:
I want to create a trigger that copy f1 f2 f3 f4 f5 from t1 to t2 after t1 was updated, this is may code lines

create trigger trigger1 after insert on t1
for each row
begin
insert into t2 (f1,f2,f3,f4,f5) values (t1.f1,t1.f2,t1.f3,t1.f4,t1.f5);
end


it´s does'nt work


what wrong

best regards

Options: ReplyQuote


Subject
Views
Written By
Posted
hi to everybory
2457
March 15, 2006 05:27PM
1825
March 15, 2006 07:13PM
1759
March 16, 2006 02:17AM
1771
March 16, 2006 10:31AM


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.