Hi Venkat

2013/8/7 Venkat Sadasivam <[email protected]>

> What is the equivalent jOOQ code for the query below?
>
> UPDATE Employee SET Name = NULL WHERE Name = 'Unknown'
>

DSL.using(...)
   .update(Employee)
   .set(Employee.Name, null)
   .where(Employee.Name.eq("Unknown"))
   .execute();

More details here:
http://www.jooq.org/doc/3.1/manual/sql-building/sql-statements/update-statement

-- 
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