two statements in one?

J

John Vinson

Hi, can I group two update statements into one query?

Only one UPDATE clause, but that clause can update many fields: e.g.

UPDATE mytable
SET thisfield = <something>,
thatfield = <something else>,
anotherfield = <whatever>
WHERE <criteria>

John W. Vinson[MVP]
 
O

Ofer

Hi js
You can join together only quries that return records, ""Select queries
you can't join update query together, you wont see them in the list of
quries and tables to select from
 
Top