ITPub博客

首页 > 应用开发 > IT综合 > Long -> lob , to_lob 转换,迁移

Long -> lob , to_lob 转换,迁移

原创 IT综合 作者:itpremier 时间:2011-05-02 15:19:39 0 删除 编辑

create table t1 (
c1 number,
c2 long)
;

create table t2 (
c1 number,
c2 clob)
;

insert into t2 select
c1, to_lob(c2)
from t1 ;

create table t2
as select
c1, to_lob(c2) c2
from t1 ;

[@more@]

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/350519/viewspace-1049348/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2008-11-27

  • 博文量
    253
  • 访问量
    773710