SAP Knowledge Base Article - Preview

2260329 - ADO.NET returns "Bad precision or scale" message when executing "select @@identity" - SAP SDK

Symptom

  • When executing “select @@identity” on an identity column defined as integer
  • ADO.NET Data Provider returns a ‘Bad precision or scale’ message:

abc.png


Read more...

Environment

  • SAP Sybase Software Developers Kit (SDK) 15.7 SP134 to SP136
  • SAP Software Developers Kit (SDK)  for Adaptive Server Enterprise (ASE) 16.0
  • Adaptive Server Enterprise ADO.NET Data Provider
  • SAP Adaptive Server Enterprise (ASE) 15.5 ESD#5.4 and higher

Product

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

Keywords

ASE, error, adonet, client, identity, numeric, decimal, datatype, mismatch, CR792766, CR#792766, 792766 , KBA , BC-SYB-SDK , SDK , Bug Filed

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.