LONG数据类型的问题, 现在是在开发吗? 如果是oracle版本>8.0 请考虑使用lob来替代long类型long可能会给你的应用带来很多的麻烦我用过它 是因为web服务器的原因 出现了问题到现在都没解决 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 呵呵,谢谢楼上的, 我只是做数据库作业时遇到的问题,显示视图相关信息时出错的String sql = "SELECT OWNER, VIEW_NAME, TEXT_LENGTH, TEXT FROM SYS.DBA_VIEWS";表SYS.DBA_VIEWS的字段TEXT是LONG类型的, 出错,我再用String sql = "SELECT OWNER, VIEW_NAME, TEXT_LENGTH, substr(TEXT, 1, 100) FROM SYS.DBA_VIEWS", 也出错。 楼主,问你个问题就是怎么向long类型的字段中插入大于4000个字符的字符串在此谢过了 select substr(to_char(txt), 1, 100) from 表 declare str_circuit varchar2(30); lcircuitobjid long; circuit_objid varchar2(30);begin--x_bw_chg_info为longselect x_bw_chg_info into lcircuitobjid from table_x_bw_chg_temp where objid = 268445056;circuit_objid:=substr(lcircuitobjid, 1, 10 ); Insert into table_x_aps_action ......values......from table_x_circuit where objid =to_number(circuit_objid);commit;end;/ Oracle 创建用户 却赋予不了权限 名字前面的两点都是干嘛的? 交叉表 老问题! sqlserver移植过程中的问题 00904错误 建表时能否直接用Integer作为字段类型-----在线等待 所有用户都登陆不了,怎么回事?? 请问存储过程编写中这个错误提示是什么意思? 关于使用JOB调用包的问题 关于SGA的分配问题 怎么启动ORACLE的实例、TSNlistrener服务?? 如何选择时间段查询数据 急救!!!tns server name 不能解释。
String sql = "SELECT OWNER, VIEW_NAME, TEXT_LENGTH, TEXT FROM SYS.DBA_VIEWS";表SYS.DBA_VIEWS的字段TEXT是LONG类型的, 出错,
我再用
String sql = "SELECT OWNER, VIEW_NAME, TEXT_LENGTH, substr(TEXT, 1, 100) FROM SYS.DBA_VIEWS", 也出错。
str_circuit varchar2(30);
lcircuitobjid long;
circuit_objid varchar2(30);begin
--x_bw_chg_info为long
select x_bw_chg_info into lcircuitobjid from table_x_bw_chg_temp where objid = 268445056;circuit_objid:=substr(lcircuitobjid, 1, 10 ); Insert into table_x_aps_action
......
values......from table_x_circuit where objid =to_number(circuit_objid);
commit;
end;
/