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

Posted on 2008-06-12
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.
Question by:colorbok
  • 3
  • 2

Accepted Solution

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.


Author Comment

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

Author Comment

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???

Expert Comment

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


Author Closing Comment

ID: 31466559
Thank you!!!

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
string fuctions 4 25
SSIS with VPN COnnection 2 70
why sql server only update some statistics in the database ? 3 18
insert wont work in SQL 14 17
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
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 to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

815 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

11 Experts available now in Live!

Get 1:1 Help Now