GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [FEATURE] MERGE ON without () · Issue #1880 · JSQLParser/JSqlParser

[FEATURE] MERGE ON without () #1880

New issue
Copy link
New issue
Copy link
Closed
#1887
Closed
[FEATURE] MERGE ON without ()#1880
#1887
Copy link

Description

@cverdela
cverdela
opened on Oct 20, 2023
Issue body actions

Grammar or Syntax Description

Hello, when I use JSqlParser to parse 'MERGE' statement and there are missing parentheses after 'ON,' it throws an error.

SQL Example

merge into table1 USING ( select * from table2) c on table1.aa=c.aa WHEN NOT MATCHED THEN INSERT ( bb,aa ) VALUES (c.aa, c.bb ,c.cc)

Activity

  1. manticore-projects commented on Oct 20, 2023

    @manticore-projects
    manticore-projects
    on Oct 20, 2023
    Contributor
    More actions

    Greetings.

    For SQL:2016 and JSQLParser, the Brackets are mandatory for the Merge statement.

  2. manticore-projects
    closed this as completedin #1887on Nov 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      You are visitor 01402520 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.