Doubt regarding Transfer SQL server Object Task

  • Hi Folks,

    I am using transfer SQL Server object task. By using this task we can perform below tasks.

    1) copying the schema

    2) copying the data

    3) truncate data from table and re insert data into same table

    4) Appending the data to existing data in the table.

    When I am using ExistingData property As Append the data is getting as duplicated.

    How to avoid duplicate data into table.

    Please help me

    Thanks

    Rambabu

  • maddukuru.rambabu (7/20/2015)


    Hi Folks,

    I am using transfer SQL Server object task. By using this task we can perform below tasks.

    1) copying the schema

    2) copying the data

    3) truncate data from table and re insert data into same table

    4) Appending the data to existing data in the table.

    When I am using ExistingData property As Append the data is getting as duplicated.

    How to avoid duplicate data into table.

    Please help me

    Thanks

    Rambabu

    Either select option (3) or do a proper incremental load of your data using a DataFlow rather than using Transfer Objects.


  • Actually this is for data migration from one DB to another DB

  • maddukuru.rambabu (7/20/2015)


    Actually this is for data migration from one DB to another DB

    Splendid.


  • Do full table load otherwise use an incremental load. You can use Merge in SQL to implement incremental load.

    ____________________________________________________________

    AP

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

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