Thanks. I am yet to test the code below.

update(EmpSequence.EMP_SEQUENCE).set(EmpSequence.EMP_SEQUENCE.NEXT_VAL, 
EmpSequence.EMP_SEQUENCE.NEXT_VAL.add(1))

On Wednesday, 10 July 2013 17:20:34 UTC-4, David Lee wrote:
>
> something like this will work:
>             
> create.update(DSL.tableByName("EmpSequence")).set(DSL.fieldByName("nextval"), 
> DSL.fieldByName("nextval").add(1)).execute();
>
>
> On Wednesday, July 10, 2013 11:17:09 AM UTC-7, Venkat Sadasivam wrote:
>>
>> How do I write jOOQ Java code for the below SQL.
>>
>> UPDATE EmpSequence SET nextval = nextval + 1
>>
>>
>>

-- 
You received this message because you are subscribed to the Google Groups "jOOQ 
User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to