A query using datediff fails with error 535 "Difference of two datetime fields caused overflow at runtime"
Select * from mytable where datediff(ms,startDate,endDate)> 60000
- SAP Adaptive Server Enterprise 16.0
- SAP Adaptive Server Enterprise 15.7
- SAP Adaptive Server Enterprise 12.5
- SAP Adaptive Server Enterprise 16.0 Cluster Edition
- SAP Adaptive Server Enterprise 15.7 Cluster Edition
sybase, datediff, overflow, 535, difference, datepart , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , Problem
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.