?
Solved

Need to change owner on a DTS package

Posted on 2002-06-24
3
Medium Priority
?
1,210 Views
Last Modified: 2013-11-30
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
Comment
Question by:Hamser
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 7

Expert Comment

by:lozzamoore
ID: 7103378
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
 
LVL 1

Accepted Solution

by:
jboyd earned 400 total points
ID: 7105218
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
 

Expert Comment

by:CleanupPing
ID: 9280256
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.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we will learn how to fix  “Cannot install SQL Server 2014 Service Pack 2: Unable to install windows installer msi file” error ?
It is possible to export the data of a SQL Table in SSMS and generate INSERT statements. It's neatly tucked away in the generate scripts option of a database.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

762 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