Modifying a project to only insert new records

  • Hi,

    I have a package that I created that pulls data from an Oracle database, does some transformations and inserts the data into a SQL Server table.  I need to modify my package to pull the data from the Oracle database and only insert the records into the SQL Server table if they do not exist.  If the location is already in the SQL Server table, do nothing.  I have been searching through my books and can't see an easy way to do this. Can anyone point me in the right direction?

    Thanks,

    Isabelle

    Thanks!
    Bea Isabelle

  • try this link:

    http://sqljunkies.com/WebLog/ashvinis/archive/2005/06/15/15829.aspx

    or try searching "UPSERT" or "SSIS Insert & Update" on Google

     


    Kindest Regards,

    Catherine Eibner
    cybner.com.au

  • I have used the following when updating new records in our data warehouse (good tutorial)

    http://www.sqlis.com/311.aspx

    Works very well and does not load all the records into memory at runtime.

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

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