How to update or insert records based on object values?
Posted on 2006-06-20
I have some objects (10-25 thousands) Email with field values (one of them - email_address).
I want to test if there exists a record in my EMAIL table based on the email_address) field of my Email objects.
If it exists, then update the record, if it does not exists then insert it ---
Please provide me with some good options on how to go about doing this?
Of course, some batch processing would be good...
The Q may need some elaboration..and thus full points...