Skip to content
This repository was archived by the owner on Feb 12, 2022. It is now read-only.
This repository was archived by the owner on Feb 12, 2022. It is now read-only.

how can i use UPSERT VALUES? #739

Open

Description

@mmaxiaolei

i user the sentence;
"UPSERT VALUES INTO my_table(id, col1, col2) VALUES( NEXT VALUE FOR my_schema.my_sequence, 'foo', 'bar');"
from "http://phoenix.apache.org/sequences.html".
but ,it do not work,bugs:Error: ERROR 603 (42P00): Syntax error. Unexpected input. Expecting "INTO", got "VALUES" at line 1, column 8. (state=42P00,code=603)
can you tell me why?

Activity

  1. jtaylor-sfdc commented on Dec 26, 2014

    @jtaylor-sfdc
    Contributor

    Phoenix moved to Apache a year ago. Please subscribe to our email address
    there instead, as this one is no longer active:
    http://phoenix.apache.org/mailing_list.html

    On Dec 25, 2014, at 10:37 PM, mmaxiaolei notifications@github.com wrote:

    i user the sentence;
    "UPSERT VALUES INTO my_table(id, col1, col2) VALUES( NEXT VALUE FOR
    my_schema.my_sequence, 'foo', 'bar');"
    from "http://phoenix.apache.org/sequences.html".
    but ,it do not work,bugs:Error: ERROR 603 (42P00): Syntax error. Unexpected
    input. Expecting "INTO", got "VALUES" at line 1, column 8.
    (state=42P00,code=603)
    can you tell me why?

    —
    Reply to this email directly or view it on GitHub
    #739.

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