Hi,
ich habe ein Problem mit einer SQL-Anweisung:
[src=mysql]CREATE TABLE privat (
id BIGINT(8) NOT NULL ZEROFILL AUTO_INCREMENT() PRIMARY KEY(),
titel CHAR(30) NOT NULL, vorname CHAR(30) NOT NULL,
nachname CHAR(30) NOT NULL, strasse CHAR(30) NOT NULL,
plz CHAR(5) NOT NULL, stadt CHAR(30) NOT NULL,
telefon CHAR(30) NOT NULL ZEROFILL,
mobil CHAR(30) NOT NULL ZEROFILL,
kundennummer int(10) NOT NULL ZEROFILL)[/src]
Fehlermeldung:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ZEROFILL AUTO_INCREMENT() PRIMARY KEY(), titel CHAR(30) NOT NULL, vorname CHAR(3' at line 1
Gruß, Lukaszki
ich habe ein Problem mit einer SQL-Anweisung:
[src=mysql]CREATE TABLE privat (
id BIGINT(8) NOT NULL ZEROFILL AUTO_INCREMENT() PRIMARY KEY(),
titel CHAR(30) NOT NULL, vorname CHAR(30) NOT NULL,
nachname CHAR(30) NOT NULL, strasse CHAR(30) NOT NULL,
plz CHAR(5) NOT NULL, stadt CHAR(30) NOT NULL,
telefon CHAR(30) NOT NULL ZEROFILL,
mobil CHAR(30) NOT NULL ZEROFILL,
kundennummer int(10) NOT NULL ZEROFILL)[/src]
Fehlermeldung:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ZEROFILL AUTO_INCREMENT() PRIMARY KEY(), titel CHAR(30) NOT NULL, vorname CHAR(3' at line 1
Gruß, Lukaszki