首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 数据库 > 其他数据库 >

将oracle中的varchar2批改为clob

2012-07-04 
将oracle中的varchar2修改为clobalter table t_hzoa_sys_alert add texts clobupdate t_hzoa_sys_alert t

将oracle中的varchar2修改为clob
alter table t_hzoa_sys_alert add texts clob;
update t_hzoa_sys_alert t set t.texts=t.receiveuserid;
alter table t_hzoa_sys_alert drop column receiveuserid;
alter table t_hzoa_sys_alert rename column texts to receiveuserid;

热点排行