Windows Oracle Data Access Components (MOSC)

MOSC Banner

I get ORA-932 using ODBC to add a row to a table when the table has a specific configuration.

edited Jan 20, 2010 8:52PM in Windows Oracle Data Access Components (MOSC) 3 commentsAnswered
My company makes an application that uses Oracle Database through a Windows C++ ODBC connection. A customer is getting this error when he tries to add an item: ORA-00932: inconsistent datatypes: expected NUMBER got CLOB

I can reproduce this on Oracle 10.2.0.1 and 10.2.0.4.

I have reproduced this in a sample C++ application, and simplified it as much as possible. The table definition is a bit long but not overly so:
create table test1 ( 
TS_ID                                              NUMBER(11) not null, 
TS_ACTIVEINACTIVE                                  NUMBER(11), 
TS_PROJECTID                                       NUMBER(11), 
TS_ISSUETYPE                                       NUMBER(11), 
TS_STATE                                           NUMBER(11), 
TS_OWNER                                           NUMBER(11), 
TS_SUBMITTER                                       NUMBER(11), 
TS_LASTMODIFIER                                    NUMBER(11), 
TS_LASTSTATECHANGER                                NUMBER(11), 

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center