Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favourite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved in your SSC briefcase from the favorites tab.
Download now (direct download link)

Change DTS package owner

By Deuce,

There is a un-documented stored procedure in msdb called sp_reassign_dtspackageowner. Unfortunately, this requires a package name and will only work on one at a time.  If one developer is taking over for another, it may be helpful to change all of Bob's dts packages over to Jim.   The following procedure will do just that.

Not sure why, but M$'s procedure failed when we tried it.  It changed the owner name, but not the SID.  It appeared as if it had worked, but the new user still could not change the package. The following code worked nicely.

Total article views: 436 | Views in the last 30 days: 1
 
Related Articles
FORUM

Which Stored Procedure changed

Which Stored Procedure changed

FORUM

How to change Owner of a package

How to change Owner of a package

FORUM

Can i change Provider in package by Execute Package Utility

Can i change Provider in package by Execute Package Utility

FORUM

changing the connection password hrough another package

changing the connection password through another package

FORUM

Store Procedure inside the Package is running slow

Store Procedure inside the Package is running slow

 
Contribute

Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones
Editor, SQLServerCentral.com

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones