• There's no good way to detect changes in a CSV. They're not built for this, which is why they don't make good databases.

    What I'd suggest is that you import the CSV into a staging table, index it, and then look for changes. There are ways to do this, perhaps with data in the table, using checksums as noted, or perhaps joining to your imported data.