Código :
CREATE TABLE SESSION ( idSession varchar( 25 ) NOT NULL , userLogin varchar( 50 ) NOT NULL , userLimit decimal( 10, 0 ) NOT NULL , UNIQUE KEY idSession( idSession ) , FOREIGN KEY ( userLogin ) REFERENCES user( userLogin ) ) TYPE = InnoDB
me sale un mensaje de error:
Código :
#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 'user(userLogin) ) TYPE = InnoDB' at line 6
gracias por sus respuestas..