MySQL Forums
Forum List  »  Triggers

triggers u
Posted by: Jayaraj Jaganathan
Date: September 26, 2006 02:49AM

I have a two tables

Table1: master_project
Table2: project_team

CREATE TABLE master_project (project VARCHAR(20) PRIMARY KEY );

CREATE TABLE project_team (project VARCHAR(20) , team VARCHAR(20) );

when i insert project name in project_team table
a unique project must to be inserted automatically in master_project table.

How to do this.?

thanks in advance.

mrjayarajj@yahoo.com
mrjayarajj@gmail.com

Options: ReplyQuote


Subject
Views
Written By
Posted
triggers u
2174
September 26, 2006 02:49AM
1486
September 26, 2006 09:43AM


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.