j'ai cet erreur
Erreur
requête SQL:
MySQL a réponduocumentation
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10 CREATE TABLE commande( idCmd INT UNSIGNED PRIMARY KEY AUTO_INCREMENT , DateCmd Date NOT NULL , livree BOOL NOT NULL , commentaire varchar( 50 ) , idclient INT NOT NULL , idfacture INT NOT NULL , FOREIGN KEY ( idfacture ) REFERENCES facture( idfacture ) ON DELETE CASCADE ON UPDATE CASCADE , FOREIGN KEY ( idclient ) REFERENCES Client( idclient ) ON DELETE CASCADE ON UPDATE CASCADE ) TYPE = InnoDB;
#1005 - Can't create table './moonsolutions13f/commande.frm' (errno: 150)
une idéé svp
Partager