27-06-2007, 12:31 AM
Code :
requête SQL:
CREATE TABLE `batiments` (
`id` INT( 200 ) NOT NULL AUTO_INCREMENT ,
`nom` TEXT( 35 ) NOT NULL ,
`descr` TEXT( 170 ) NOT NULL ,
`destruct` TEXT( 1 ) NOT NULL ,
`taille` TEXT( 200 ) NOT NULL ,
`atk` TEXT( 200 ) NOT NULL ,
`def` TEXT( 200 ) NOT NULL ,
`p_paille` INT( 20000 ) NOT NULL ,
`c_paille` INT( 200000 ) NOT NULL ,
`p_or` INT( 20000 ) NOT NULL ,
`c_or` INT( 200000 ) NOT NULL ,
`p_met` INT( 20000 ) NOT NULL ,
`c_met` INT( 200000 ) NOT NULL ,
`p_bois` INT( 20000 ) NOT NULL ,
`c_bois` INT( 200000 ) NOT NULL ,
`p_energie` INT( 20000 ) NOT NULL ,
`c_energie` INT( 200000 ) NOT NULL ,
INDEX ( `id` )
) ENGINE = MYISAM
MySQL a répondu:Documentation
#1439 - Display width out of range for column 'p_paille' (max = 255)
Nop ça ne marche pas