Menu

#356 Supported date extraction function mismatch

open-fixed
None
5
2022-07-28
2020-11-16
No

According to the table 10.1, hsqldb supports 'IW':

Week of year (1-52 or 1-53) based on the ISO standard. Week starts on Monday. The first week may start near the end of previous year.

However, when actually trying to use it I get the following:
"interval qualifier missing or not valid: IW"

'WW' works, but isn't what I need.

Discussion

  • Anders Storsveen

    I'm using it in TRUNC while under Oracle-compability mode, if that matters.

     
  • Fred Toussi

    Fred Toussi - 2020-11-16

    The 'IW' parameter is supported for TO_CHAR. What is the result of applying TRUNC with 'IW' ?

     
  • Fred Toussi

    Fred Toussi - 2020-11-18
     
  • Fred Toussi

    Fred Toussi - 2020-11-18

    I have committed support for 'IW'. You can checkout from SVN base/trunc and test.

     
  • Fred Toussi

    Fred Toussi - 2022-07-28
    • status: open --> open-fixed
    • assigned_to: Fred Toussi
     

Log in to post a comment.

MongoDB Logo MongoDB