首页 > Linux操作系统 > Linux操作系统 > Long类型转Lob类型
SQL> create table t (x long);
Table created.
SQL> insert into t values('asdarewhdfhsdkjfh');
1 row created.
SQL> commit;
Commit complete.
SQL> create table a (x clob);
Table created.
SQL> insert into a select to_lob(x) from t;
1 row created.
SQL> commit;
Commit complete.
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/7865774/viewspace-615449/ ,如需转载,请注明出处,否则将追究法律责任。