Solved

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

Posted on 2008-10-22
4
361 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
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 video shows, step by step, how to configure Oracle Heterogeneous Services via the Generic Gateway Agent in order to make a connection from an Oracle session and access a remote SQL Server database table.
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

707 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