SAP Knowledge Base Article - Preview

2048792 - Timestamp datatype does not yield valid date/time data when accessing with the convert() function - SAP ASE


  • Table defined with timestamp and datetime datatypes
  • Data inserted to both columns at the same time
  • Execution of query to convert timestamp value to datetime yields unexpected results:

1> select convert(datetime, a) from ts1
2> go

             Jan  1 1900 12:05AM



SAP Adaptive Server Enterprise (ASE) all versions


SAP Adaptive Server Enterprise all versions ; Sybase Adaptive Server Enterprise all versions


convert(), function,datatype , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , How To

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.