SSIS Package or Script

  • A EST(Exec SQL Task) would solve your need

    Raunak J

  • I have to truncate the table2 and insert into table 2 from table1. As that regular task.Data will be replicate from Production server to Development.

  • Still EST will solve your need:-)

    Raunak J

  • Hi Raunak

    Can you please elaborate the steps?

  • Sure. Described as below:

    Step 1: Add a Linked Server

    Step 2: Using Open Query

    But after reading your original post, which says you wish to manipulate data in the production server.

    Be cautious. A better approach would be to implement temporary data staging model.

    Raunak J

  • 1. Create EXECUTE SQL TASK and write TRUNCATE TABLE table2

    2. Create DATA FLOW

    Source (table1[Production]) ----> Destination (table2 [Development]

    Connect EXECUTE SQL TASK with DATAFLOW.

    And then schedule this package accordingly.

Viewing 6 posts - 1 through 7 (of 7 total)

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