Click to See Complete Forum and Search --> : Enumerate Local packages.


Bill Crawley
April 25th, 2007, 07:56 AM
Hi All,

In SQLServer 2000 there are local packages. I need to write a script that will enumerate the local Packages store and return me the name of each DTS. I thought I could use LoadFromSQLServer but that only appears useful if you know the package name.

Any ideas?

Thanks.

Shuja Ali
April 27th, 2007, 02:36 AM
A simple stored procedure present in msdb gives you the DTS packages present on the server.
use msdb

EXEC sp_enum_dtspackages