Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Update File with only new records

Status
Not open for further replies.

Cpreston

MIS
Mar 4, 2015
972
GB
HI

I want to be able to export from SQL a group of data into a CSV or Excel file. This is not problem at all and I can achieve this, however, I only want to update the rows for the text file or excel document if the import rows are new and not already in the file. Is this possible and if so could someone point me in the right direction. I have googled it but cannot find anything to assists.

The idea is we run the script several time a day and it should only update with new rows.

Thanks in advance
 
not possible to do in SSIS (at least with your limited C# knowledge).
but you can load your CSV file onto SQL Server, compare to the other data you are processing, and generate new file.

same goes for Excel.

Regards

Frederico Fonseca
SysSoft Integrated Ltd

FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top