MySQL Forums
Forum List  »  Newbie

Re: ERROR 1005 <errno: 150>
Posted by: Angel
Date: April 16, 2005 02:05PM

I am having the same error with a different table - did you figure yours out yet?

here's my table which seems easier - but - is still enough for me to commit suicide over..

CREATE TABLE `Coaches` (`CoachID` INT(2) NOT NULL AUTO_INCREMENT,
`CoachLName` varchar(40) NOT NULL default '',
`CoachFName` varchar(25) NOT NULL default '',
`DOB` date NOT NULL default '00-00-00',
`CarWins` int(3) NOT NULL default '0',
`CarLoss` int(3) NOT NULL default '0',
PRIMARY KEY (`CoachID`),
UNIQUE KEY `CoachID` (`CoachID`),
KEY `TeamID` (`CoachID`),
CONSTRAINT `CoachID` FOREIGN KEY (`CoachID`) REFERENCES `team` (`TeamID`) ON DELETE SET NULL ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=latin1;


Any ideas? I thought I would jump in here in case you got some ideas/replies before I posted my own thread...

Thanks
Angel. (my last programming class ever UGH!!)

Options: ReplyQuote


Subject
Written By
Posted
April 16, 2005 09:38AM
Re: ERROR 1005 <errno: 150>
April 16, 2005 02:05PM
April 16, 2005 02:59PM
April 16, 2005 03:23PM


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.