QUOTE(Amadeus @ 4 Dec, 2006 - 08:03 AM)

Is there a time stamp you can use? Alternately, can you modify the table to insert an autonumber, and then use the resulting field value (not sure if you can in MySQL, but you can with other DBs...)?
Unfortunately there's no timestamp - just three fields, none of each have any particular order to them. (I'd like to get the guy who set up the table into a dark alley sometime.)
I thought about adding an id field and setting it to autonumber and primary key, but I wasn't sure if that would mess up the insertion order or not. Right now, the only thing differentiating good data from bad is that all the bad data was entered last. If I do anything that might change the row order, I'll have to scrap everything and start over from scratch.
Is it possible to add a PK to an existing table while reliably maintaining the row order?
Wayne
This post has been edited by wzeller: 4 Dec, 2006 - 08:02 AM