不同数据库修改语句命令如下:
1. MYSQL
rename table table1 to table2;
2. SQL SERVER
EXEC sp_rename ‘table1‘, ‘table2‘;
3. Oracle
alter table table1 rename to table2
4. db2
rename table table1 to table2;
5 informax
rename table(表名) table1(字段1) to table2(字段2)
原文地址:https://www.cnblogs.com/cyb-652356/p/10705915.html
时间: 2024-11-17 20:34:07