MySQL Forums
Forum List  »  Triggers

Re: Triggers in batch mode
Posted by: Andrew Gilfrin
Date: March 15, 2005 01:03PM

Don, unless it's really big may be worth adding the script so we can see what's going on. If they run fine individually then I assume it's something in the script not working.

I created a script like so and it worked fine.

create trigger bi_emps_fer before insert on emps for each row
set new.emp_name := reverse(new.emp_name)

//

create trigger bu_emps_fer before update on emps for each row
set new.emp_name := reverse(new.emp_name)

//

is this how your doing it or is there something else in there.

Andrew Gilfrin
http://www.mysqldevelopment.com

Options: ReplyQuote


Subject
Views
Written By
Posted
4222
March 15, 2005 09:59AM
Re: Triggers in batch mode
2705
March 15, 2005 01:03PM
5141
March 15, 2005 02:26PM
2614
March 15, 2005 05:06PM


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.