|
Error
SQL query:
CREATE TABLE codeNames(
boardID INT,
codeName VARCHAR( 100) ,
CONSTRAINTFOREIGNKEY boardID REFERENCES allBoards( boardID )
) ENGINE INNODB;
MySQL said:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'REFERENCES allBoards(boardID)
) ENGINE INNODB' at line 4
Last edited by Ctechinfo; 02-18-2013 at 01:59 AM..
|