cyb-652356

sql语句对表字段进行修改

不同数据库修改语句命令如下:

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)

发表于 2019-04-14 17:13  码源疯  阅读(843)  评论(0编辑  收藏  举报
 

分类:

技术点:

相关文章:

  • 2021-11-29
  • 2021-11-17
  • 2022-12-23
  • 2021-11-21
  • 2021-11-28
猜你喜欢
  • 2022-01-23
  • 2022-12-23
  • 2021-07-24
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
  • 2021-07-05
相关资源
相似解决方案