Solved

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

Posted on 2008-10-22
4
356 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

730 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