all groups > sql server dts > july 2003 >
You're in the

sql server dts

group:

Execute Package Task


Execute Package Task kriskirk NO[at]SPAM hotmail.com
7/10/2003 3:29:49 PM
sql server dts: Hi,

In the Execute Package task, is there any way of preventing the
Package ID from being stored so that it is determined at runtime
rather than design time?

I want to execute a package by name and not ID because the package
ID's can change when transferring packages between servers.

I guess the alternative question is how to retain the original Package
ID when transferring a package to a remote server. The way I'm doing
the transfer is as follows:

1) Save the Package from the Source server to a .DTS file.
2) Open the Package on the Destination server.
3) Save the Package to SQL Server on the Destination server.

Step 3 seems to generate a new Package ID and this is causing me
problems when another package is dependent on it.

Is there a better way of doing this?

Re: Execute Package Task Allan Mitchell
7/11/2003 7:33:16 AM
This might help

Make the Execute Package Task name dependent only
http://www.sqldts.com/default.aspx?6,102,216,0,1

--


Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

[quoted text, click to view]

AddThis Social Bookmark Button