Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts 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: 441 | Views in the last 30 days: 1
 
Related Articles
FORUM

Which Stored Procedure changed

Which Stored Procedure changed

SCRIPT

Change Stored Procedure Automaticly

Script describe How to change stored procedure Automaticly.

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

 
Contribute