
Forum » » Le coin des codeurs » » Pb de transfer de base de donnée
Posté : 26-05-2005 17:33 
Erreur
requête SQL :
CREATE TABLE glossaire(
id int( 10 ) NOT NULL AUTO_INCREMENT ,
lettre varchar( 8 ) NOT NULL ,
nom longtext NOT NULL ,
definition longtext NOT NULL ,
affiche int( 1 ) DEFAULT '0' NOT NULL ,
lien varchar( 255 ) NOT NULL ,
PRIMARY KEY ( id ) ,
UNIQUE id( id ) ,
KEY definition( definition ) )
MySQL a répondu:
#1170 - BLOB column 'definition' used in key specification without a key length
Cet article provient de NPDS REvolution 16
https://lab.grottes-et-karsts-de-chine.org/viewtopic.php?topic=16714&forum=5