![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi, I have created DTS package in the SQLServer 2000. Now, I would like to execute this package for multiple databases under the same sqlserver. How can I do that? I am trying to change it's connection's catalog property via VB.Net. But, It seems that it's not changing and everytime I am getting results from the same database, which I configured in DTS package. I tried to work with Global variables. But, does not help. It's the same. I appretiate your help. Thank you, Rajesh |
#3
| |||
| |||
|
|
Did you use "dynamic properties" in your DTS package? -- Tibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ Blog: http://solidqualitylearning.com/blogs/tibor/ "Rajesh Patel" <rdp647 (AT) hotmail (DOT) com> wrote in message news:1121787813.102221.226940 (AT) z14g2000cwz (DOT) googlegroups.com... Hi, I have created DTS package in the SQLServer 2000. Now, I would like to execute this package for multiple databases under the same sqlserver. How can I do that? I am trying to change it's connection's catalog property via VB.Net. But, It seems that it's not changing and everytime I am getting results from the same database, which I configured in DTS package. I tried to work with Global variables. But, does not help. It's the same. I appretiate your help. Thank you, Rajesh |
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Hi, After I made above mentioned change, package is running well from sqlserver. But, it is not achieving desired result when I run it from vb.net. I set global variable's values from vb.net application. It's not picking up database name from global variable and looks like its using database name which I specified in package itself. Do I need to set order of step executions on vb.net application? It works well in sqlserver though. In sqlserver, it executes 'setglobalvars' task first. When I look step collection in vb.net, 'Setglobalvars' is last in step collection. Thanks Rajesh |
![]() |
| Thread Tools | |
| Display Modes | |
| |