SAP Knowledge Base Article - Preview

2085473 - Incorrect results returned when SELECT performed for a negative tinyint value - SAP ASE

Symptom

  • The ASE datatype TINYINT should only permit values from 0 to 255 inclusive
  • INSERT of values outside that range will result in a failure with ASE error 247:

    Msg 247, Level 16, State 1: Line 1:
    Arithmetic overflow during implicit conversion of INT value '-33' to a TINYINT field.

  • SELECT of the negative of a TINYINT value should return error 247, but returns incorrect value without an error instead:


Read more...

Environment

SAP Adaptive Server Enterprise (ASE) all versions

Product

SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 16.0 ; Sybase Adaptive Server Enterprise 12.5 ; Sybase Adaptive Server Enterprise 15.0 ; Sybase Adaptive Server Enterprise 15.5

Keywords

negative, TINYINT , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , 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.