网站地图
  
  高级搜索
  首页   技术论坛   博客 派计划   产品中心   资源中心   银弹在线   商城  





oracle10数据库问题    
#1楼
给作者发送短消息 给作者发送短消息 实名会员 
查看用户其他信息
初级会员

oracle10数据库问题,字段的存储类型是CLOB,当数据库的字段保存超过4000字符的时候,发生错误,具体如下:

[code]Error at Command Line:1 Column:121
Error report:
SQL Error: ORA-01704: 字符串文字太长
01704. 00000 -  "string literal too long"
*Cause:    The string literal is longer than 4000 characters.
*Action:   Use a string literal of at most 4000 characters.
           Longer values may only be entered using bind variables.
[/code]

怎么解决数据库的这个问题啊,有谁知道吗,怎么解决啊??

 

Re: oracle10数据库问题    
#2楼
给作者发送短消息 给作者发送短消息 实名会员 
查看用户其他信息
初级会员
换oracle数据库驱动程序,到你的安装oralce数据库目录jdbc下的ojdbc.jar
_.---._
.:":_'-.-`_:":.
:`.`._'-.-'_.'.':
'`.`._`-.-'_.'.''
`.`-.`-.-'.-'.'
`._`-.-'_.'
`'''`
 

Re: oracle10数据库问题    
#3楼
给作者发送短消息 给作者发送短消息 实名会员 
查看用户其他信息
总分 251 分
财富 442 goCom币
威望 169
排名 第 69 名
段位 新手必读
 

Re: oracle10数据库问题    
#4楼
给作者发送短消息 给作者发送短消息 实名会员 
查看用户其他信息
初级会员
 




发表回复
账号用户名   密码   登录
内容:url email imgsrc image code quote
范例 Example
bold italic underline linethrough   


 [更多...]