Solved

Need to change owner on a DTS package

Posted on 2002-06-24
3
1,199 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 100 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Sql Query 29 30
Force application to connect using sql native client for mirroring 3 18
t-sql left join 2 30
Section based report in SSRS 14 25
JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
In the first part of this tutorial we will cover the prerequisites for installing SQL Server vNext on Linux.
Via a live example, show how to extract information from SQL Server on Database, Connection and Server properties
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.

737 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