× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



You could create a db trigger over the transaction file. Have the trigger program write event date, time, event type (Insert, Delete, or Update) and the before and after record image. Given the number of transactions you may want to delete records as they are processed and reuse deleted records.


-----Original Message-----
From: midrange-l-bounces@xxxxxxxxxxxx [mailto:midrange-l-bounces@xxxxxxxxxxxx] On Behalf Of Gad Miron
Sent: Tuesday, May 01, 2012 2:59 AM
To: midrange-l@xxxxxxxxxxxx
Subject: Unique ID

Hello guys

Need some help with uniquely identifying records in data files that are
routinely extracted
to an external (SQL Server) data warehouse.

Only new or updated records are extracted and I need a way to tell which
record is new
(and add it to the DW) and which is existing updated record (in which case
update the existing record in the DW)

The transaction files are about 80 - 100 million records (all in all)

Since I could NOT find a field combination that uniquely identify each
records
I tries RRN but apparently some records gets deleted and it is no good.

Any help will be greatly appreciated

Gad

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

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.