Leeoniya
02-04-2008, 06:30 PM
i was wondering if there was an alternative to doing multiple updates to the same field for a number of records without a bunch of update statements.
i need to renumber/reorder a set of fields, assuming "position_num" is a DB field, and i need to update it for records with ids 1,2,3 with position numbers of 21,22,23 respectively, is there a way to do this in one statement?
thanks,
Leon
i need to renumber/reorder a set of fields, assuming "position_num" is a DB field, and i need to update it for records with ids 1,2,3 with position numbers of 21,22,23 respectively, is there a way to do this in one statement?
thanks,
Leon