Solved

How to remove previous versions of DTS packages on SQL 2005?

Posted on 2008-06-12
5
1,391 Views
Last Modified: 2013-11-30
I've recently upgraded to SQL 2005.  Using the legacy tools, I have a DTS package that I made changes to.  Now there are multiple versions of that DTS package.   In 2000, you could just right click on the DTS package, choose 'Versions', and remove the older versions.   I'm not seeing anywhere to do this in 2005.

Can you please let me know how to remove the older versions of the DTS packages?

Thank you.
0
Comment
Question by:colorbok
[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
  • 3
  • 2
5 Comments
 
LVL 2

Accepted Solution

by:
cm0605 earned 125 total points
ID: 21769869
You can use the procedure:
EXEC msdb.dbo.sp_drop_dtspackage @name = '',
                                                            @id = ,
                                                            @versionid =
The name, id and versionid can be found in the msdb.dbo.sysdtspackages table.

Chad
0
 

Author Comment

by:colorbok
ID: 21770378
I don't want to execute it, I want to remove the old versions.
0
 

Author Comment

by:colorbok
ID: 21770387
Sorry, didn't read the code close enough.....I'll try that out and see how it works.    So you don't know of anyway to do it via the Studio interface???
0
 
LVL 2

Expert Comment

by:cm0605
ID: 21771287
The best solution I have for you is to create an SSIS package and do away with the dts package.

Chad
0
 

Author Closing Comment

by:colorbok
ID: 31466559
Thank you!!!
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

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…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.

734 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