定义什么样的字段类型,可以存储1万字的中文字符? 我原先定义的是long 型,现在删除所有数据,更改成 clob 系统提示我更改无效 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 怎样在 jsp 页面里执行插入语句,可以添加 clob 字段数据 SQL> desc test2 名称 空? 类型 ----------------------------------------------------- -------- ------------------------------------ A LONG B CLOBSQL> create table test3(a clob,b varchar2(10));表已创建。SQL> desc test3 名称 空? 类型 ----------------------------------------------------- -------- ------------------------------------ A CLOB B VARCHAR2(10)SQL> insert into test3(a,b) select to_lob(a),b from test2;已创建 1 行。SQL> select * from test3;A B-------------- ----------sajsdasd test2已选择 1 行。SQL> drop table test2;表已丢弃。SQL> rename test3 to test2;表已重命名。SQL> desc test2; 名称 空? 类型 ----------------------------------------------------- -------- ------------------------------------ A CLOB B VARCHAR2(10)SQL> select * from test2;A B-------------- ----------sajsdasd test2已选择 1 行。 当然是CLOB了,在9I中最大可存储4GB。 一个很简单的问题(关于oracle的用户管理) 求助sql或存储过程写法 ODBC连接问题 exp导出的几个特殊要求,请大哥帮忙 请问ORacle develper 2000开发的程序如何移植到wince oracle中 Schema.TableName,schema是怎么回事? 生成一批可以控制的帐号 怎样重建控制文件 新人求教,有人來指點不!!!! sql 多列数据分组统计 字符集us7ascii和zhs16gbk(在线) 小问题一个
名称 空? 类型
----------------------------------------------------- -------- ------------------------------------
A LONG
B CLOBSQL> create table test3(a clob,b varchar2(10));表已创建。SQL> desc test3
名称 空? 类型
----------------------------------------------------- -------- ------------------------------------
A CLOB
B VARCHAR2(10)SQL> insert into test3(a,b) select to_lob(a),b from test2;已创建 1 行。SQL> select * from test3;A B
-------------- ----------
sajsdasd test2已选择 1 行。SQL> drop table test2;表已丢弃。SQL> rename test3 to test2;表已重命名。SQL> desc test2;
名称 空? 类型
----------------------------------------------------- -------- ------------------------------------
A CLOB
B VARCHAR2(10)SQL> select * from test2;A B
-------------- ----------
sajsdasd test2已选择 1 行。