Skip to content

[BUG] statement with input user parameter cannot be parsed #1785

Closed
@csakhogy

Description

@csakhogy

Failing SQL Feature:

SQl Statement including an input parameter (that is being defined via user prompt during execution) cannot be parsed and throws ParseException: Encountered unexpected token "=" "="

SQL Example:

select * from all_tables
where owner = &myowner

Note: AFAIK such input parameter might also contain a dot at the end (e.g. &myowner.).

Software Information:

  • JSqlParser version 4.60
  • Oracle v19

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