先增加列
alter table tb_1 add col_bak nvarchar2;
update tb_1 set col_bak=col_1;
update tb_1 set col_1=null;
alter table tb_1 modify column col_1 clob;
update tb_1 set col_1=col_bak;
可能有字段需要转化格式函数,具体自己查。
已经有数据 不能改吧
先把数据另存 create table table1 as select * from table
然后再alter table modify column clob;
然后 再把数据往回插
create table table1 as select * from table
alter table modify column clob;