?
Solved

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

Posted on 2008-10-22
4
Medium Priority
?
364 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 640 total points
ID: 22782786
0
 
LVL 75

Assisted Solution

by:Anthony Perkins
Anthony Perkins earned 640 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 720 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

Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

Question has a verified solution.

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

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
In part one, we reviewed the prerequisites required for installing SQL Server vNext. In this part we will explore how to install Microsoft's SQL Server on Ubuntu 16.04.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.
Suggested Courses

770 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