CREATE TABLE datentabelle (
nr bigint(20) NOT NULL auto_increment,
row1 tinytext,
row1 tinytext,
PRIMARY KEY (nr),
)TYPE=MyISAM;
weil ich nochwas vergessen habe:
INSERT INTO datentabelle (nr, row1, row2) VALUES (10, "text1", "text2);
führt bei MySQL zu einem Fehler.
INSERT INTO datentabelle (nr, row1, row2) VALUES ("", "text1", "text2");
_oder_
INSERT INTO datentabelle (nr, row1, row2) VALUES (NULL, "text1", "text2");
(Das steht NULL ohne Textbegrenzer!)
weist dann nr einen Wert automatisch zu. Eine Änderung ist nicht sinnvoll. Das aber gänge...
So, jetzt hätten wir das umfassen gelöst :)
fastix