酷符网数据库 > 正文

mysql表名修改

2010-11-11 14:40codeif.com

mysql表重命名命令如下

alter table 原来的表名 rename 新的表名

例如,将tbl_one 修改为 tbl_two

alter table tbl_one rename  tbl_two

相关文章

新浪微博 | 淘段子 | 我的博客 | 淘宝店铺 | jnan.org | RSS
Copyright © 2009 - 2011 酷符网