Posted: Wed Jun 15, 2005 3:10 pm Post subject: insert error
Partisan
Joined: 06 Jun 2004 Posts: 316
I am trying to insert a record into database, but it gives me the following error when it comes across ABC column.
( BROKER.default ) Database error: SQL State '42S22'; Native Error Code '-206'; Error Text '[IBM][CLI Driver][DB2/NT] SQL0206N "ABC" is not valid in the context where it is used. SQLSTATE=42703 '.
The error has the following diagnostic information: SQL State '42S22' SQL Native Error Code '-206' SQL Error Text '[IBM][CLI Driver][DB2/NT] SQL0206N "ABC" is not valid in the context where it is used. SQLSTATE=42703 '
SQLSTATE:-42703 Undefined column name. A column name is not in the referenced tables.
So column name that ur tryin to insert into isnt probably there or there is a syntax error with the name
SQLSTATE:-42703 Undefined column name. A column name is not in the referenced tables.
So column name that ur tryin to insert into isnt probably there or there is a syntax error with the name
The name of the column is correct and also the syntax. datatype of the column is an integer(FK)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum