ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Long类型转Lob类型

Long类型转Lob类型

原创 Linux操作系统 作者:hjgluguo 时间:2009-09-24 10:11:59 0 删除 编辑

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/ ,如需转载,请注明出处,否则将追究法律责任。

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

注册时间:2008-07-11

  • 博文量
    97
  • 访问量
    209220