phoenix-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gabriel Reid <>
Subject Re: Upsert command with prepared statement syntax
Date Thu, 10 Sep 2015 18:44:13 GMT

Using prepared statements with Phoenix is basically the same as using
insert or update statements with any other JDBC driver (see for
more details on this in general).

The one difference is that the actual SQL syntax that you use makes
use of the UPSERT keyword instead of INSERT or UPDATE. The specific
grammar is shown here:

- Gabriel

On Thu, Sep 10, 2015 at 6:33 PM, Hafiz Mujadid <> wrote:
> Hi
> I want to upsert data using prepared statement and batch update.
> Is there any example for it?

View raw message