如何将Clob类型改成Varchar类型?

 
1、新增一列varchar2类型,varchar2类型最大4000:alter table test add(c varchar2(4000));
2、将clob列数据更新到新增列:update test set c=clob_col;
3、删除clob列:alter table test drop column clob_col;
4、将新增列名更改回原来列名:alter table test rename column c to clob_col;

你可能感兴趣的:(c,table)