Hi,
I get the following error on a oracle 11g database.
ORA-01401: inserted value too large for column Offset: 223
The used SQL is:
select distinct v0."LK" as "Lkey", TO_NUMBER(v2."Value") AS "Value" from b0 v0 inner join b0v v1 on (v1."Field"=100535 and v1."FK_LK"=v0."PK") left outer join b0v v2 on (v2."Field"=100464 and v2."FK_LK"=v0."PK") inner join ACLEntry acl5376 on (acl5376."FK_ACL"=v0."FK_A
CL") WHERE ((((v1."Value"<>'notis manu torulos Caesar illustri donet vati veterum cudimus pueros Chonrade torulos pignus tacitis Chonrade viros Haec valeat pignus tessera Artificum pueros vati nomismata veterum notis cudimus scribere nos quisque Artificum dabo pignus donet valeat horis valeat manu iuglans Ipse ut pignus nos facta Et chartula scribere eximias Et valeat dabo iuglans scribere nomismata Et cudimus cudimus Dum chartacea Et quisque picta signaque tacitis mei vates vati figere Emblemata vates cudimus nomismata chartacea valeat iuvenes facta Caesar tibi fallit ut chartula mei petasis veterum tibi segnes pueros Quae segnes munera torulos eximias iuvenes manus horis Dum Caesar segnes figere pignus iuglans habere supremus vates horis Et Emblemata Dum illustri manu ut parmas illustri chartacea Haec pignus pueros festivis munera picta Detinet Artificum Chonrade chartula Detinet nos chartula Ipse manu supremus habere torulos torulos torulos Artificum veterum et notis eximias ut amoris chartula amoris horis pueros viros Emblemata iuvenes petasis segnes nos scribere figere chartula veterum notis Vestibus Quae ut manus scribere picta Haec habe At tacitis veterum' or v1."Value" is null)))) and ((acl5376."FK_Benutzer"=1 or acl5376."FK_Gruppe" IN (9 , 6 , 4 , 1 , 2 , 3 , 13 , 14)) and acl5376."Type"='r') and v0."histtop"='Y' ORDER BY TO_NUMBER(v2."Value"), v0."LK" desc
The table description is:
SQL> describe b0v;
Name Null? Type
--------------------------
----------
----- -------- --------------------------
--
PK NOT NULL NUMBER
FK_LK NOT NULL NUMBER
Field NOT NULL NUMBER
Value NVARCHAR2(2000)
SQL> describe ACLEntry
Name Null? Type
--------------------------
----------
----- -------- --------------------------
--
PK NOT NULL NUMBER
FK_ACL NOT NULL NUMBER
FK_Gruppe NUMBER
FK_Benutzer NUMBER
Type NCHAR(1)
SQL> describe b0;
Name Null? Type
--------------------------
----------
----- -------- --------------------------
--
PK NOT NULL NUMBER
LK NOT NULL NUMBER
kzStatus NOT NULL NCHAR(1)
histtop NOT NULL NCHAR(1)
FirstEditor NOT NULL NUMBER
FirstEditTime NOT NULL NUMBER
Editor NOT NULL NUMBER
EditTime NOT NULL NUMBER
FK_ACL NOT NULL NUMBER
Deputy NUMBER
b0Type NUMBER
o1 NUMBER
o2 NUMBER
dt0v_alphanum_dm NVARCHAR2(254)
dt0v_num_dm FLOAT(126)
dt0v_datetime_dm NUMBER
dt0v_sselection_dm NUMBER
dt0v_urllink_dm NVARCHAR2(254)
dt0v_user_dm NUMBER
dt0v_date_dm NUMBER
dt0v_hlist_dm NVARCHAR2(254)
dt0v_extsel_dm NUMBER
dt0v_radio_dm NUMBER
dt0v_checkbox_dm NVARCHAR2(254)
dt0v_popup_dm NVARCHAR2(254)
dt0v_scrollwin_dm NVARCHAR2(254)
dt0v_picture_dm NVARCHAR2(254)
dt0v_file_dm NVARCHAR2(254)
dt0v_group_dm NUMBER
Multifile BLOB
dt0v_adminsel_dm NUMBER
dt38 FLOAT(126)
dt38_r FLOAT(126)
dt38_c NVARCHAR2(3)
dt0v_alphanum_ms_1 NVARCHAR2(254)
dt0v_alphanum_ms_2 NVARCHAR2(254)
Anyone knows why this error occurs? The comapred text is 1123 chars long and the database charset is ALUTF32. Are there any options to tweak in oracle to allow longer text compares?