当前位置:Gxlcms > 数据库问题 > 对数据库中的表或字段重命名

对数据库中的表或字段重命名

时间:2021-07-01 10:21:17 帮助过:178人阅读

alter table test rename as T;
Query OK,
0 rows affected (0.21 sec)
//对字段重命名

alter table test change t_name t_name_new varchar(20);

 

对数据库中的表或字段重命名

标签:命名   test   varchar   字段   class   char   重命名   pre   数据库   

人气教程排行