Skip to content

Support "RETURNING INTO" part of Insert/Update/Delete statement #1780

Closed
@ZhengguanLi

Description

@ZhengguanLi

Hello,

We are using JSqlParser to parse Oracle PL/SQL statement, and the statement with returning ... into ... can't be parsed. For example: begin insert into table (col1) values (sysdate) returning id into new_id; commit; end. Please add support of RETURNING INTO clause in INSERT/UPDATE/DELETE statement.

Encountered unexpected token: "into" "INTO"
    at line 1, column 57.

Was expecting one of:
    "&"
    "::"
    "<<"
    ">>"
    "["
    "^"
    "|"
    "<ST_SEMICOLON>"

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions