![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I've used DTS Transform Data tasks (with ActiveX Sctipts) to insert records into SQLServer database tables. 1) But, I'm not clear on the best way to apply updates to existing records. Is there a general approach I should follow, e.g., is this something that can only be done with a Data Driven Query? 2) What if I wanted to effect an update to A SQLServer database table by first deleting a record and then inserting a replacement. How would I coordinate the SQL task with a Transform Data Task? Thanks for your help. Ken |
#2
| |||
| |||
|
|
The Data Driven Query is the way to go. BOL contains detailed examples. "Ken" wrote: I've used DTS Transform Data tasks (with ActiveX Sctipts) to insert records into SQLServer database tables. 1) But, I'm not clear on the best way to apply updates to existing records. Is there a general approach I should follow, e.g., is this something that can only be done with a Data Driven Query? 2) What if I wanted to effect an update to A SQLServer database table by first deleting a record and then inserting a replacement. How would I coordinate the SQL task with a Transform Data Task? Thanks for your help. Ken |
![]() |
| Thread Tools | |
| Display Modes | |
| |