Hi all
well this is the first time in this forum so I'II be clear about my question and thanks in advance
I'll create a software in C#, this app takes a CSV file (about 73,000 lines). This files comes from another system, also the CSV file can change, what's that means? the CSV file can change in one line ( the data ) or can have more new lines or can have less lines, the CSV change every hour or half hour it depends!!!
I add those lines from the CSV file to a table in SQL,The first time is easy.. I just ADDNEW for each line in CSV file. But, the second time I cannot delete all table to import it again from the beginning because of these extra fields, or in other case if a line in the CSV change, i can't drop all the data from the table.
so I need a method that can verify each record inside my SQL Table and CSV file automatically? Or I need to treat the records one by one? If i compare every change it would be correct to use a cursor fot that?
Thanks