Solved

SQL Server 2000 -  is it possibale to get a list of DTS packages?

Posted on 2008-10-22
4
334 Views
Last Modified: 2013-11-30
I have SQL Server 2000 on my computer (the name of the instance is SVR2000).  I have 3 DTS packages- MyPack1,  MyPack2, MyPack3.

1) Is it possible to create a code (C# for example) that returns the names of DTS packages - in this case it will be MyPack1,  MyPack2, MyPack3 ? Thanks


0
Comment
Question by:niceguy971
4 Comments
 
LVL 2

Assisted Solution

by:-JerodR
-JerodR earned 160 total points
ID: 22782786
0
 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 160 total points
ID: 22783184
Sure.  All versions of your DTS Packages are stored in the table sysdtspackages in MSDB.  If you just want the unique names than you can use a DISTINCT clause.
0
 
LVL 51

Accepted Solution

by:
Mark Wills earned 180 total points
ID: 22787588
@acperkins: Well, the ones that are saved to the database are, but what about external packages?
can also select * from msdb..sysjobs to see what other things are scheduled. and exec master..xp_cmdshell 'dir/s *.dts'
0
 

Author Closing Comment

by:niceguy971
ID: 31509042
Thanks!!!
0

Featured Post

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.
Viewers will learn how the fundamental information of how to create a table.

947 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now