如题: 
 
--增加列操作:
     alert table 表名 add 列名 列的类型
     eg:alter table EMP1 add  pwd varchar2(10);
--删除列操作:
     alert table 表名 drop column 列名;
     eg:alter table EMP1 drop column age;
--修改字段类型:
     alert table 表名 modify 列名 列的类型
     eg:alter table EMP1 modify  createTime date;
--重命名字段:
     alert table 表名 rename 旧的列名 to  新的列名
     eg:alter table EMP1 rename column createTime to createDate;

  

===如图:
Oracle 修改表操作
Oracle 修改表操作

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-12-19
  • 2021-10-31
  • 2022-12-23
  • 2021-11-27
  • 2022-12-23
猜你喜欢
  • 2021-11-15
  • 2021-05-18
  • 2022-12-23
  • 2022-12-23
  • 2021-09-25
  • 2021-09-27
  • 2022-01-21
相关资源
相似解决方案