![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Is there a way to determine the name of the SQL Server instance to which a DTS package is stored? I would like to be able to determine the instance name so that I can set the properties of a connection object to that instance name. My aim is to be able to store a dts package on each instance of SQL Server on a given server and have each package access databases on the instance it has been saved to, each instance having the same set of databases. Help! Kind Regards, Doug |
#3
| |||
| |||
|
|
Is there a way to determine the name of the SQL Server instance to which a DTS package is stored? I would like to be able to determine the instance name so that I can set the properties of a connection object to that instance name. My aim is to be able to store a dts package on each instance of SQL Server on a given server and have each package access databases on the instance it has been saved to, each instance having the same set of databases. Help! Kind Regards, Doug |
#4
| |||
| |||
|
|
In message <B80FC3FA-5B15-4859-8DFB-3EFE3C12C48A (AT) microsoft (DOT) com>, DougHolland <DougHolland (AT) discussions (DOT) microsoft.com> writes Is there a way to determine the name of the SQL Server instance to which a DTS package is stored? I would like to be able to determine the instance name so that I can set the properties of a connection object to that instance name. My aim is to be able to store a dts package on each instance of SQL Server on a given server and have each package access databases on the instance it has been saved to, each instance having the same set of databases. Help! Kind Regards, Doug If you execute the package on the server where it is stored, through a job for example, use (local) as the server name. But as Allan says, DTS is client side, so think through the implications of this, particularly when developing. -- Darren Green (SQL Server MVP) DTS - http://www.sqldts.com PASS - the definitive, global community for SQL Server professionals http://www.sqlpass.org |
![]() |
| Thread Tools | |
| Display Modes | |
| |