Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Error - BigInt datatype

Status
Not open for further replies.

fletchsod

Programmer
Dec 16, 2002
181
Okay, I got this error...

--snip--
SQL error: [IBM][CLI Driver][DB2/6000] SQL0408N An UPDATE, INSERT, or SET transition-variable value is not compatible with the data type of its target column "TOTAL_CUST_INQ". SQLSTATE=42821 , SQL state 22005 in SQLExecDirect
--snip--

So, what do I need to convert the TOTAL_CUST_INQ to BIGINT data-type? That is the data-type it use...
 
Fixed...

Since BIGINIT the data-type so I don't need the quote around the number value as part of the UPDATE syntax string. My mistake...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top