MySQL Forums
Forum List  »  Triggers

Re: Calculation from time stamps through to amount due
Posted by: Peter Brawley
Date: September 04, 2016 01:42PM

I don't entirely trust phpMyAdmin's Trigger interface. Very hard to debug what can't be seen.

You can see what's going on much better in the more straightforward SQL interface ...

delimiter go
drop trigger if exists your_trigger_name;
create trigger your_trigger_name after insert on your_table_name for each row
begin
  -- your trigger code here
end;
go
delimiter ;

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Calculation from time stamps through to amount due
551
September 04, 2016 01:42PM


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.