[Newbie question.]
I have the following scenario,
- Source systems publishes an event for a new customer
- Data warehouse consumes these events and saves them to a NewCustomer table
- A SSIS process will run frequently (every 10 mins), processing these into the customer DIM table, and will either mark the rows as processed or remove them from the NewCustomer table
How do I mark/remove processed customers from the NewCustomer table, without removing any newly added customers which may have appeared during process?