I am looking for a way to edit the COMMENT metadata for a table or column after the table or column is already in existence. Anyone happen to know what the DDL for doing that would be? something like this perhaps (obviously these don't work, this is just to demonstrate what I would need):
ALTER TABLE ADD COMMENT 'this table is for blah'
ALTER TABLE MODIFY COLUMN ADD COMMENT 'this column is for blah'
this page says it's possible but then doesn't give an example, and it's not clear to me from the syntax of ALTER TABLE that it's even possible:
http://dev.mysql.com/doc/refman/5.1/en/alter-table.html
Quote:
|
Originally Posted by dev.mysql.com
ALTER TABLE enables you to change the structure of an existing
table. For example, you can add or delete columns, create or destroy
indexes, change the type of existing columns, or rename columns or
the table itself. You can also change the comment for the table and
type of the table.
|