Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

execute a dts from within another dts Sql Server 7?

Status
Not open for further replies.

aolb

Programmer
Apr 16, 2002
180
GB
Can I execute a dts package from within another dts package in SQL Server 7?
 
I don't have a copy of 7 running to give you an actual example but you can use an Execute Process Task to run the DTSRUN utility. This can be used to run a DTS package, the same as if you called it from the command prompt or from a JOB step.

Examples( from books on line)
To execute a DTS package saved as a COM-structured storage file, use:

dtsrun /Ffilename /Npackage_name /Mpackage_password

To execute a DTS package saved in the SQL Server msdb database, use:

dtsrun /Sserver_name /Uuser_nName /Ppassword /Npackage_name /Mpackage_password

To execute a DTS package saved in Meta Data Services, use:

dtsrun /Sserver_name /Uuser_nrame /Ppassword /Npackage_name /Mpackage_password /Rrepository_name

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top