Hallo,
nutze unter WAMP phpMyAdmin 3.3.3, schon längere Zeit im einsatz.
Füge ich dort folgenden SQL-Code aus:
... so kommt die Meldung:

Ohne "ä" als Umlaut, dann klappt's.
Wenn ich jedoch separat den DROP- inkl. CREATE-Befehl ausführe und anschließend den INSERT-Befehl, dann klappt's ebenfalls -- wieso aber nicht "direkt hintereinander"?
Danke & Grüße
Carlos
nutze unter WAMP phpMyAdmin 3.3.3, schon längere Zeit im einsatz.
Füge ich dort folgenden SQL-Code aus:
Code:
DROP TABLE IF EXISTS `x_umlaute`; CREATE TABLE IF NOT EXISTS `x_umlaute` ( `id` int(4) NOT NULL auto_increment COMMENT 'mit Umlaut ä', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1; INSERT INTO `x_umlaute` VALUES (1);
#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 'INSERT INTO `x_umlaute` VALUES
(1)' at line 7
(1)' at line 7

Ohne "ä" als Umlaut, dann klappt's.
Wenn ich jedoch separat den DROP- inkl. CREATE-Befehl ausführe und anschließend den INSERT-Befehl, dann klappt's ebenfalls -- wieso aber nicht "direkt hintereinander"?
Danke & Grüße
Carlos
Kommentar