Updating data in your DB daily

  • i have used the bulk insert to update all flat files into my database, however, i get a new flat file daily and need to somehow write a script to update that database with only NEW data. how would i go about checking whats in the database and then adding the new data? any help would be MUCH appreciated.

     

    thanks again

  • Load the new file into a temp table, then use a query to select the data that needs to be loaded based on the primary key of the data.

     

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply