DBAwhosaysNIE
MIS
I am working w/a "shrinkwrap" vendor of ours to get them to certify their app on 10 and am getting a weird error:
their application tries to do a (sanitized for security/NDA):
insert into table (col1, col2, col3, col4) values(1,:1,'abc',:2) returning col2 into :3
and gets a "ORA-00932 inconsistent datatypes: expected NUMBER and got CLOB"
I'm 99% sure the problem is with the "returning" clause as none of the number columns have bind variables in the values clause and col2 is a clob. I tried setting an event in the init file to force a core dump but it does not tell me what the submitted/attempted bound values were.
if it makes a difference the application server runs on w2k(/3) and talks odbc so I don't know if something wacky is happenening in the translation (to/from oci). we are trying to use the 10 client as well while existing prod is 8.1.7 client/db.
their application tries to do a (sanitized for security/NDA):
insert into table (col1, col2, col3, col4) values(1,:1,'abc',:2) returning col2 into :3
and gets a "ORA-00932 inconsistent datatypes: expected NUMBER and got CLOB"
I'm 99% sure the problem is with the "returning" clause as none of the number columns have bind variables in the values clause and col2 is a clob. I tried setting an event in the init file to force a core dump but it does not tell me what the submitted/attempted bound values were.
if it makes a difference the application server runs on w2k(/3) and talks odbc so I don't know if something wacky is happenening in the translation (to/from oci). we are trying to use the 10 client as well while existing prod is 8.1.7 client/db.