Einzelnen Beitrag anzeigen
Alt 06.01.2002, 21:38   #6
_m3
Inventar
 
Registriert seit: 24.09.2001
Beiträge: 7.335


Standard

OK - hab mal nachgeschlagen. Du "darfst" zwar reservierte Worte als Spaltennamen verwenden, es wird aber nicht empfohlen. Bennene die Spalte in "Gruppe" um, und es wird alles sofort funktionieren. Bei mir hat er schon beim erstellen einer Spalte mit dem Namen "group" auf der Kommandozeile eine Fehlermeldung geschoben. phpMyAdmin dürfte da etwas "lockerer" mit dem Problem umgehen.

Zitat:
A common problem stems from trying to create a table with column names that use the names of datatypes or functions built into MySQL, such as TIMESTAMP or GROUP. You're allowed to do it (for example, ABS is an allowed column name), but whitespace is not allowed between a function name and the `(' when using functions whose names are also column names.
http://www.mysql.org/doc/R/e/Reserved_words.html
____________________________________
Weiterhin zu finden auf http://martin.leyrer.priv.at , http://twitter.com/leyrer , http://www.debattierclub.net/ , http://www.tratschen.at/ und via Instant Messaging auf Jabber: m3 <ät> cargal.org .
_m3 ist offline   Mit Zitat antworten