![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
You could use a Dynamic Properties task to modify the properties of all of your connections as the first step in the package. That task could read out of an *.ini file, or you could make the assignment by global variables which could be passed in at the time that the DTS package is executed (use dtsrunui.exe to see how to call a DTS package and pass in the values for the global variables). |
#4
| |||
| |||
|
|
This is what is already being done. It works fine for the 'Execute SQL Tasks' tool, but not the 'Microsoft OLE DB Provider for SQL Server' tool or the 'Copy SQL Server Objects' tool which don't seem to support global variables (at least I haven't been able to expose them). doug "Tim" <mitsirrah (AT) netzero (DOT) net> wrote in message news:1110857319.692761.239960 (AT) o13g2000cwo (DOT) googlegroups.com... You could use a Dynamic Properties task to modify the properties of all of your connections as the first step in the package. That task could read out of an *.ini file, or you could make the assignment by global variables which could be passed in at the time that the DTS package is executed (use dtsrunui.exe to see how to call a DTS package and pass in the values for the global variables). |
#5
| |||
| |||
|
|
Okay, reading more. It would appear the objects I'm concerned about don't have design time properties that can be exposed, but the Dynamic Properties Task can still be used to change their properties at run time if you add them to the list. Going to give it a try. "doug" <dsmrtn (AT) pacbell (DOT) net> wrote in message news:#nC#kPWKFHA.436 (AT) TK2MSFTNGP09 (DOT) phx.gbl... This is what is already being done. It works fine for the 'Execute SQL Tasks' tool, but not the 'Microsoft OLE DB Provider for SQL Server' tool or the 'Copy SQL Server Objects' tool which don't seem to support global variables (at least I haven't been able to expose them). doug "Tim" <mitsirrah (AT) netzero (DOT) net> wrote in message news:1110857319.692761.239960 (AT) o13g2000cwo (DOT) googlegroups.com... You could use a Dynamic Properties task to modify the properties of all of your connections as the first step in the package. That task could read out of an *.ini file, or you could make the assignment by global variables which could be passed in at the time that the DTS package is executed (use dtsrunui.exe to see how to call a DTS package and pass in the values for the global variables). |
#6
| |||
| |||
|
#7
| |||
| |||
|
|
Have any tasks been added to the DTS package that don't wait for the dynamic properties task to be run first? |
![]() |
| Thread Tools | |
| Display Modes | |
| |