![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
Greetings I've set up a DTS package that contains an ActiveX script task that sets 2 datetime global variables. The next steps are Execute Package tasks that receive these global datetime variables as parameters. All is well except a few of the packages being called have the parameters in nested queries. The error thrown is "Parameter Information cannot be derived from SQL statements with sub-select queries. Set parameter information before preparing command" I've seen plenty of ADO KB articles in which a solution is presented but nothing with respect to how this can be done inside the query portion of a DTS package. Does anyone know if this can be done or if an alternative is present. I've worked with SQL for several years but only lightly with DTS packages. My end goal is to call several packages that all have date criteria but only want to change the date in one location instead of in EVERY package. Any insight would be greatly appreciated. Thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |