We have a nightly process that creates a text file for a mainframe job. It will be changing as there will be 2 append queries that load records into a table. The data elements are account code and status. The issue is this, each query can contain the same account and different status. If the same account appears with different status' how can I filter this in the append query. Currently the table is set to no dupes. What is the cleanest way to handle this. I don't want the lower status record overwriting the higher status record.
Thanks
Thanks