Skip to content

[BUG] JSQLParser 5.3: RDBMS Oracle: failing to parse oracle BETWEEEN #2287

@mantesap

Description

@mantesap

Failing SQL Feature:

  • The following statement using BETWEEN AND TO_CHAR/ADD_MONTHS cannot be parsed
  • Example: BETWEEN using to_char and add_months can't be parsed

SQL Example:

  • Query Example
    SELECT
        DUMMY
    FROM
        dual
    WHERE
        DUMMY BETWEEN to_char(add_months(sysdate, - 2),'YYYYMMDD') AND to_char(sysdate, 'YYYYMMDD')        
    

Software Information:

  • JSqlParser version 5.3
  • Database: Oracle DB, any version

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions