Problème de création de table
Bonjour, la requête suivante ne marche pas
Code:
1 2 3 4 5 6 7 8 9
| CREATE TABLE prefix_membres (
id MEDIUMINT NOT NULL AUTO_INCREMENT ,
identifiant VARCHAR( 30 ) NOT NULL ,
pseudo VARCHAR( 15 ) NOT NULL ,
passe VARCHAR( 40 ) NOT NULL ,
email TEXT NOT NULL ,
valide BINARY NOT NULL ,
rang SMALLINT( 1 ) NOT NULL ,
INDEX (id); |
J'ai ce message d'erreur : #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 'NOT NULL ,
rang SMALLINT( 1 ) NOT NULL ,
INDEX (id)' at line