Symptom
Query below fails if source table contains more than 2^32 (4294967296) rows.
Select number() nb, col1 into target_table from source_table
Error:
Cannot convert xxx to a integer (column nb)
SQLCODE=-157, ODBC 3 State="07006"
Read more...
Environment
SAP IQ
Product
SAP IQ 16.0
Keywords
number, number(), datatype, data type, Integer, Int, BigInt, Convert, cast, -157, 157 , KBA , BC-SYB-IQ , Sybase IQ , Problem
About this page
This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.