Table format:
Empnum |perendate |date/timestamp
-------|----------|----------------
0500 | 10/2/06 |10/22/06 13:25:52
0500 | 10/2/06 |10/22/06 13:20:50
0200 | 10/7/06 |10/22/06 13:25:42
As you can see from the above table, two of the records are identical - obviousy a duplication. The only difference is the timestamp.
I want to be able to read/process the record with the most recent timestamp. which is "0500 10/2/06 10/22/06 13:25:52 and ignore its duplicate(the next record). Also I want to process the other record with different empnum. Please I'd appreciate if someone can show me how to accomplish this objective.
Thank you all.
Brianus.
Empnum |perendate |date/timestamp
-------|----------|----------------
0500 | 10/2/06 |10/22/06 13:25:52
0500 | 10/2/06 |10/22/06 13:20:50
0200 | 10/7/06 |10/22/06 13:25:42
As you can see from the above table, two of the records are identical - obviousy a duplication. The only difference is the timestamp.
I want to be able to read/process the record with the most recent timestamp. which is "0500 10/2/06 10/22/06 13:25:52 and ignore its duplicate(the next record). Also I want to process the other record with different empnum. Please I'd appreciate if someone can show me how to accomplish this objective.
Thank you all.
Brianus.