|
Hello, has anyone ever handled the following situation:
I have a history file that is not uniquely keyed (changing this would be
a nightmare).
This file is synchronized with another system and duplicate key errors
are sometimes received when trying to update records. This is because
some history records are created with the same key of item, date, &
time.
Is there a way via a BEFORE INSERT trigger (or some other process) that
I can change or prevent the 2nd record from being written if it is a
duplicate?
I can increment the time on the new record by a fraction of a second as
long as I can intercept it somehow.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.