笔记:mysql修改数据表表名sql语句。

来源:互联网 发布:我的世界怎么做js 编辑:程序博客网 时间:2024/06/07 19:12

cmd :alter table [table_name] rename to [new_name];

例如:把表名d_account修改为s_account,

input cmd : alter table d_account rename to s_account;

原创粉丝点击