Solved

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

Posted on 2008-06-12
5
1,382 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
  • 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

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…
The Delta outage: 650 cancelled flights, more than 1200 delayed flights, thousands of frustrated customers, tens of millions of dollars in damages – plus untold reputational damage to one of the world’s most trusted airlines. All due to a catastroph…
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to set up a backup for SQL Server using a Maintenance Plan and how to schedule the job into SQL Server Agent.

821 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