How can I update every record of a given table one by one.
I need to update a field (date) with a different, random date for each
record.
loop {
generate random date;
update one record with new date;
goto new record
}
Problem. Table does not have a unique id field
table (item, date)
peaches - 2003-05-13
pears - 2003-11-24
peaches - 2004-01-04
the table is a given... meaning I have to work with it the way it is.
Thanks,
Rey