Prevent the same record from being extracted

I have a stored that, with a SELECT (based on some conditions), extract and populate a file to export via FTP.
This stored is scheduled to run 2 times a day.
I have to implement something that when a record is sent (extracted via FTP), must not be
present in the following extraction.
What is the best way to obtain this feature?

Thanks a lot.


Create a logging table that tracks which rows were sent. Then on extex'tract exclude rows from logging table.But what if that row changes again?

1 Like

If they changes, I'll have to send them again.


Do you have any audit columns on source table for ex modifieddate?