Symptom
- 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
Read more...
Environment
SAP Adaptive Server Enterprise (ASE) all versions
Product
SAP Adaptive Server Enterprise all versions ; Sybase Adaptive Server Enterprise all versions
Keywords
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 for Me (Login required).Search for additional results
Visit SAP Support Portal's SAP Notes and KBA Search.