[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1224
  • Last Modified:

Need to change owner on a DTS package

I have created number of DTS packages on my local MS SQL 2000 Server. They are created using my windows account in stead of the Server Administrator account. Is it possible to change the owner of the DTS package so I can schedule it?

If it isn't possible, how do I schedule my DTS packages then?
0
Hamser
Asked:
Hamser
1 Solution
 
lozzamooreCommented:
You can open the packages and choose save-as.

When the save dialog box appears, check the connection properties to the server you wish to save the package to.

This will be the owner, so set this to sa.

The owner of a package should not interfere with the scheduling normally however.

To schedule, simply right click on package, choose schedule, and SQL server should take care of the details for you.

Let me know how you get on.

Cheers,
0
 
jboydCommented:
In the msdb database there is stored procedure named sp_reassign_dtspackageowner that will do the trick. Here's some sample syntax:
msdb..sp_reassign_dtspackageowner
@name = 'Package Name',
@id = 'FF18ACDD-3FBF-48FF-8E1D-0CE4038D5EE4',
@newloginname = 'sa'
You can obtain the package ID (@id) from the msdb..sysdtspackages table (ID column).
0
 
CleanupPingCommented:
Hamser:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0

Featured Post

Free Backup Tool for VMware and Hyper-V

Restore full virtual machine or individual guest files from 19 common file systems directly from the backup file. Schedule VM backups with PowerShell scripts. Set desired time, lean back and let the script to notify you via email upon completion.  

Tackle projects and never again get stuck behind a technical roadblock.
Join Now