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 ;
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/350519/viewspace-1049348/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/350519/viewspace-1049348/
本文介绍了一种将包含NUMBER和LONG类型字段的源表t1转换为目标表t2的方法,其中目标表包含NUMBER和CLOB类型字段。通过使用TO_LOB函数进行数据类型转换。
731

被折叠的 条评论
为什么被折叠?



