alter table nlphistory_pat add (answer_bak clob);
第二部:将原来字段的值拷贝到新建的clob字段
update nlphistory_pat set answer_bak = answer ;
第三步:删除原来的字段
alter table nlphistory_pat drop column answer;
第四步:将新建的clob字段的名字修改为原来的字段的名字
alter table nlphistory_pat rename column answer_bak to answer;
第五步:提交
commit;
总共就5步,怎么样,简单吧。
转自小刚的博客 http://blog.sina.com.cn/s/blog_6d0021460101kits.html