SAP Knowledge Base Article - Preview

2137794 - ODBC: 'Data overflow. Increase specified column size or buffer size' when binding numeric data (SQL_NUMERIC) to SQL_C_NUMERIC - SAP SDK

Symptom

Application binding to SQL_C_NUMERIC and receiving error (SQLBindParameter(stmt, 2, SQL_PARAM_INPUT, SQL_C_NUMERIC, SQL_NUMERIC, 9, 0, &numStruct, 0 , &cbParm1);):

SQLState: HY000, Native Error: 30128, Message: [Sybase][ODBC Driver]Data overflow. Increase specified column size or buffer size


Read more...

Environment

  • Windows x64 (64-bit)
    • Win 7/8, 2008/2008 R2, 2012/2012 R2
  • SDK for SAP ASE 15.7
  • SDK for SAP ASE 16.0
  • Adaptive Server Enterprise ODBC Driver by Sybase
  • SAP ASE 15.7 and higher
  • Visual Studio 2010, 2012, 2013 and others

Product

SAP Adaptive Server Enterprise SDK 16.0 ; Sybase SDK 15.7 ; Sybase Software Developer Kit 15.7

Keywords

KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , 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.