2457585 - datediff error "Difference of two datetime fields caused overflow at runtime" | SAP Knowledge Base Article

SAP Knowledge Base Article - Preview

2457585 - datediff error "Difference of two datetime fields caused overflow at runtime"

Symptom

A query using datediff fails with the error "Difference of two datetime fields caused overflow at runtime"

Example:

Select * from mytable where datediff(ms,startDate,endDate)> 60000


Read more...

Environment

  • 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

Product

SAP Adaptive Server Enterprise 12.5 ; SAP Adaptive Server Enterprise 15.7 ; SAP Adaptive Server Enterprise 15.7 Cluster Edition ; SAP Adaptive Server Enterprise 16.0 ; SAP Adaptive Server Enterprise 16.0 Cluster Edition

Keywords

sybase , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , BC-SYB-ASE-CE , ASE Cluster Edition (Standalone) , Problem

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.