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

Payment information shows nothing in one page checkout page magento -

tcpdump - How to check if server received packet (acknowledged) -