Query to change the owner of the DTS package in sqlserver2000:

 DTS Package owner change:

sp_reassign_dtspackageowner

'Package_name’,

‘Package_id’,

'Newownerloginname’



Parameters descriptive:

Package_name ->specify name of the package.

Package_id ->get the id value from below output for the corresponding packages.

use msdb
GO
select * from sysdtspackages

Moreover we can take idvalue for the latest ‘created date’ column from the above table.

Comments

Popular posts from this blog

SQL Server:Steps to Configure Database Mirroring by T-SQL Script.

SSIS2008R2 Error: 0xC0209303 at Package: