修改varchar類型字段為clob類型步驟:
alter table SFJ_RMTJ_AJ add HZ2 clob
update SFJ_RMTJ_AJ set HZ2 = HZ;
alter table SFJ_RMTJ_AJ drop column HZ
alter table SFJ_RMTJ_AJ rename column HZ2 to HZ;
select HZ from SFJ_RMTJ_AJ;
修改varchar類型字段為clob類型步驟:
alter table SFJ_RMTJ_AJ add HZ2 clob
update SFJ_RMTJ_AJ set HZ2 = HZ;
alter table SFJ_RMTJ_AJ drop column HZ
alter table SFJ_RMTJ_AJ rename column HZ2 to HZ;
select HZ from SFJ_RMTJ_AJ;