greenZ

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理


修改表名
alter table <table_old> rename to <table_new>;

修改变字段名
alter table <table>
rename column <column_old> to <column_new>;

 

posted on 2018-04-05 16:39  绿Z  阅读(394)  评论(0)    收藏  举报