MySQL Forums
Forum List  »  Triggers

Re: Mysql Trigger
Posted by: Devart Team
Date: December 09, 2011 06:12AM

Firstly, take a look at this topic - CREATE TRIGGER Syntax.

Then, try this one -

CREATE TRIGGER automateKringCreation
  AFTER INSERT
  ON person
  FOR EACH ROW
BEGIN
  INSERT INTO Kring(`text`) VALUES ('banaan');
END

Devart Company,
MySQL management tools
http://www.devart.com/dbforge/mysql/

Options: ReplyQuote


Subject
Views
Written By
Posted
2095
December 08, 2011 03:00PM
Re: Mysql Trigger
1053
December 09, 2011 06:12AM


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.