thanks

On Thu, Sep 10, 2015 at 11:44 PM, Gabriel Reid <gabriel.reid@gmail.com> wrote:
Hi,

Using prepared statements with Phoenix is basically the same as using
insert or update statements with any other JDBC driver (see
https://docs.oracle.com/javase/tutorial/jdbc/basics/prepared.html 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:
http://phoenix.apache.org/language/index.html#upsert_values

- Gabriel


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



--
Regards: HAFIZ MUJADID