SQL 改大字段clob类型

--增加大字段项  
alter table 表名 add hehe clob;  
--将需要改成大字段的项内容copy到大字段中  
update 表名 set hehe=name1;  
--删除原有字段  
alter table 表名 drop column name1;  
--将大字段名改成原字段名  
alter table 表名 rename column hehe to name1;

 

posted @ 2018-06-14 10:35  褚牛牛  阅读(945)  评论(0编辑  收藏  举报