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

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -