|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Thursday, May 16, 2013 3:26 AM
Points: 64,
Visits: 223
|
|
Hi guys,
this is the dilemma im in now. i have to create a DTS package that instead of doing the usual copy columns in data transformation, i need it to perform an update statement instead. Any ideas on how i should move forward with this??
appreciate for any replies..TIA
|
|
|
|
|
SSCertifiable
       
Group: General Forum Members
Last Login: Today @ 10:19 PM
Points: 6,703,
Visits: 11,736
|
|
I forgot most of my DTS skills but since you have not received any responses I'll make a general suggestion:
Instead of loading the data directly into your target table, load the data into a staging table using the current 'copy columns' method and then issue an UPDATE...JOIN to update your target table from the data in your staging table.
__________________________________________________________________________________________________ There are no special teachers of virtue, because virtue is taught by the whole community. --Plato
Believe you can and you're halfway there. --Theodore Roosevelt
Everything Should Be Made as Simple as Possible, But Not Simpler --Albert Einstein
The significant problems we face cannot be solved at the same level of thinking we were at when we created them. --Albert Einstein
1 apple is not exactly 1/8 of 8 apples. Because there are no absolutely identical apples. --Giordy
|
|
|
|
|
SSC Veteran
      
Group: General Forum Members
Last Login: Yesterday @ 6:00 AM
Points: 268,
Visits: 188
|
|
| why arent you using SSIS? you can easily do it using SSIS.
|
|
|
|