修改表

增加新列

alter table test1 add photo blob;

修改列

alter table test1 modify tname varchar2(40);

删除列

alter table test1 drop column photo;

重命名列

alter table test1 rename column tname to username;

重命名表

rename table test1 to test2;

 

posted @ 2018-07-24 15:46  风雪夜_归人  阅读(158)  评论(0)    收藏  举报