SAP Knowledge Base Article - Preview

1907020 - Convert datetime using display format 117/118 shows different result on ASE 15.0.3 and ASE 15.7 - SAP ASE

Symptom

  • the same convert command on datetime shows different result on ASE 15.0.3 and ASE 15.7
  • convert datetime using display format 117/118 in ASE 15.0.3 shows result:
    select convert(varchar, getdate(), 117)    == >    2013/08/30 06:57:07
    select convert(varchar, getdate(), 118)    == >    2013/08/30  6:57AM
  • convert datetime using display format 117/118 in ASE 15.7 shows result:
    select convert(varchar, getdate(), 117)    == >    7:24AM
    select convert(varchar, getdate(), 118)    == >    07:24


Read more...

Environment

  • SAP Adaptive Server Enterprise (ASE) 15.0.x
  • SAP Adaptive Server Enterprise (ASE) 15.7 

Product

SAP Adaptive Server Enterprise 15.7 ; Sybase Adaptive Server Enterprise 15.0

Keywords

convert, datetime, 117, 118 , KBA , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Bug Filed

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.