hi,
ich finde einfach nicht heraus, wie man das Comment-Feld einer MySQL-Tabelle anlegen, auslesen, ändern kann und wieviele Zeichenund welcher Zeichenvorrat erlaubt sind.
anlegen beim erstellen der tabelle, http://www.mysql.com/doc/en/CREATE_TABLE.html
table_options: table_option [table_option] ...
table_option:
{ENGINE | TYPE} = {BDB | HEAP | ISAM | InnoDB | MERGE | MRG_MYISAM | MYISAM}
| AUTO_INCREMENT = #
| AVG_ROW_LENGTH = #
| CHECKSUM = {0 | 1}
| COMMENT = 'string'
weiter unten steht dann noch:
COMMENT A 60-character comment for your table.
damit hätten wir also auch schonmal eine aussage zur länge.
zum anzeigen/auslesen:
A comment for a column may be specified with the COMMENT option. The comment is displayed by the SHOW CREATE TABLE statement, and by SHOW FULL COLUMNS. This option is available as of MySQL 4.1. (It is allowed but ignored in earlier versions.)
das bezieht sich aber wie schon da steht, auf die kommentare zu einzelnen spalten der tabelle.
aber ich denke mal, den kommentar zur tabelle selber müsste man ähnlich rausbekommen, auch über irgendeines der SHOW-konstrukte ...
gruss,
wahsaga