Mysql alter comment column only -
i'm wondering if it's possible change comment on column in mysql without change column definition data name, type , key.
example : alter table user
change id
id
int( 11 ) comment 'id of user'
can change comment example ?
thanks in adavance.
according mysql specification, must repeat entire column definition if want redefine comment:
alter table user modify id int(11) comment 'id of user';
Comments
Post a Comment