In ASE versions prior to 15.0, the precision of a numeric column created usingI a literal value with SELECT INTO was affected by leading zeros in the literal value.
select 1.0 as c1 into t1 -- would result in a numeric(2,1) column
select 0000000001.0 as c1 into t1 -- would result in a numeric(11,1)
In later versions, the leading zeros are ignored when determining the precision of the column's datatype, both examples would result in a numeric(2,1)
- SAP Adaptive Server Enterprise (ASE) versions 12.5.1 and higher
- SAP Adaptive Server Enterprise Cluster Edition (ASE CE) all versions
Sybase , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , Bug Filed
About this pageThis 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.