PDA

View Full Version : updating multiple non sequential records


robojob
07-23-2006, 01:25 PM
can anyone help me with a way to update a set of records that could potentially be non sequential...

marek_mar
07-23-2006, 02:34 PM
You could try and use the IN() function.

UPDATE table SET field = 'value' WHERE primary_key IN(1, 32, 345, 3, 4);