SAP Knowledge Base Article - Preview

2053654 - ISNUMERIC() function returns incorrect result of '1' for various characters - SAP ASE


  • Using the ISNUMERIC() function with the following character strings incorrectly returns a value of '1' :
    • .  (period)
    • ,  (comma)
    • $ (currency sign)
    • + (plus sign)
    • -  (minus sign)
    • e (natural logarithm)
  • Attempt to convert any of these character strings to a 'number' datatype of integer, float, money or decimal/numeric fails with error 249:

Msg 249, Level 16, State 1:
Syntax error during explicit conversion of VARCHAR value 'e' to a INT field.



SAP Adaptive Server Enterprise (ASE) 15.x and 16.0


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


conversion ,VARCHAR,INT field , error 249 , message 249 , 'incorrect result' , 'incorrect conversion' , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-DB-SYB , SAP Business Suite on Sybase ASE Database Platform , 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.