![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a simple dts task. I need to update tables from a source_server to a target_server. Task: Drop table from target_server then copy table from source_server to target_server. Problem: I want to be able to pass in the source_server and target_server names as arguments. How can I define a DTS package to use passed in arguments? I need something similar to command line input arguments or the DOS %1 %2 type arguments. I understand I may be able to do this using SQL global variables. I need an example of how to this? If I use global variables, what is the scope of the global variable? What happens when two different users execute the DTS package simultaneously using different arguments? Would they overwrite each others global variables? |
![]() |
| Thread Tools | |
| Display Modes | |
| |