Public
Authored by 赵振棠

批量获取MySQL表字段的ALTER语句

需求是要批量修改MySQL的表字段注释信息,由于MySQL中无法只修改表字段的注释,所以需要在修改注释之前将其建表语句批量取出再作进一步处理,以下的sql语句就是用来获取可以精细到按字段进行筛选的ALTER语句

Edited
.sql 910 Bytes
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment