Hi,
ich möchte mit PHPMyAdmin eine neue Datentabelle in meiner Datenbank erstellen. Wenn ich dann auf OK klick, kommt eine Fehlermeldung.
Der angezeigte Quelltext lautet wie folgt:
CREATE TABLE Passwoerter
(
id
INT( 5 ) UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY ,
name
VARCHAR( 20 ) UNSIGNED NOT NULL ,
passwort
VARCHAR( 20 ) UNSIGNED NOT NULL ,
e-mail
VARCHAR( 35 ) UNSIGNED NULL ,
status
VARCHAR( 20 ) UNSIGNED NOT NULL ,
UNIQUE (
name
,
passwort
)
) TYPE = MYISAM
Dann folgt eine Fehlermeldung:
#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 'UNSIGNED NOT NULL, passwort
VARCHAR(20) UNSIGNED NOT NULL, `e
Weiß irgendjemand wo da der Fehler liegt??
Ich hab schon n paar Variationen ausprobiert, aber es geht trotzdem nicht...
Michael