MySQL动态添删改列字段

动态增加列字段
alter table TableName drop column field_id;

动态删除列字段
alert TABLE table_name change old_field_name new_field_name field_type;

动态修改列字段
alert TABLE table_name change old_field_name new_field_name field_type;

prolove 的头像

发表回复

  • 18df

  • 18df

  • 121c

  • 6f23

  • fb44

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

Insert the contact form shortcode with the additional CSS class- "bloghoot-newsletter-section"

By signing up, you agree to the our terms and our Privacy Policy agreement.