ORA-01439:要更改数据类型,则要修改的列必须为空

alter table materials rename column SPECS to mySPECS;
alter table materials add SPECS VARCHAR2(1024);
update materials set SPECS = mySPECS;
alter table materials drop column mySPECS;

posted @ 2019-06-17 18:13  博小园  阅读(561)  评论(0编辑  收藏  举报
回到顶部