dbTalk Databases Forums  

Changing package ownership

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Changing package ownership in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Laura Reynolds
 
Posts: n/a

Default Changing package ownership - 09-16-2003 , 07:42 AM






Is there a way to change the ownership of a dts package
without having to do a "save as" with a different name?
The packages are scheduled as jobs (with multiple steps in
the job) and each job would have to be recreated as well.
Any help would be appreciated. Thank you.

Reply With Quote
  #2  
Old   
Peter Hall
 
Posts: n/a

Default Re: Changing package ownership - 09-16-2003 , 08:09 AM






In table sysdtspackages on msdb, you have a column called owner_SID. This
can be changed to change package owner.

Pete

"Laura Reynolds" <lreynolds (AT) dialamerica (DOT) com> wrote

Quote:
Is there a way to change the ownership of a dts package
without having to do a "save as" with a different name?
The packages are scheduled as jobs (with multiple steps in
the job) and each job would have to be recreated as well.
Any help would be appreciated. Thank you.



Reply With Quote
  #3  
Old   
Peter Hall
 
Posts: n/a

Default Re: Changing package ownership - 09-16-2003 , 08:13 AM



There is also a stored procedure called sp_reassign_dtspackageowner that can
be used to achieve this.

Pete

"Laura Reynolds" <lreynolds (AT) dialamerica (DOT) com> wrote

Quote:
Is there a way to change the ownership of a dts package
without having to do a "save as" with a different name?
The packages are scheduled as jobs (with multiple steps in
the job) and each job would have to be recreated as well.
Any help would be appreciated. Thank you.



Reply With Quote
  #4  
Old   
Laura Reynolds
 
Posts: n/a

Default Re: Changing package ownership - 09-16-2003 , 08:19 AM



Pete,
Thanks for the quick response. I found that I can also
change the owner of the job (without changing the dts
ownership) and the job runs successfully.
Laura


Quote:
-----Original Message-----
In table sysdtspackages on msdb, you have a column called
owner_SID. This
can be changed to change package owner.

Pete

"Laura Reynolds" <lreynolds (AT) dialamerica (DOT) com> wrote in
message
news:411701c37c50$02193460$a501280a (AT) phx (DOT) gbl...
Is there a way to change the ownership of a dts package
without having to do a "save as" with a different name?
The packages are scheduled as jobs (with multiple steps
in
the job) and each job would have to be recreated as
well.
Any help would be appreciated. Thank you.


.


Reply With Quote
  #5  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Changing package ownership - 09-16-2003 , 10:37 AM



Here is one way

Package Ownership Issues
(http://www.sqldts.com/default.aspx?212)

--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"Laura Reynolds" <lreynolds (AT) dialamerica (DOT) com> wrote

Quote:
Is there a way to change the ownership of a dts package
without having to do a "save as" with a different name?
The packages are scheduled as jobs (with multiple steps in
the job) and each job would have to be recreated as well.
Any help would be appreciated. Thank you.



Reply With Quote
  #6  
Old   
Darren Green
 
Posts: n/a

Default Re: Changing package ownership - 09-16-2003 , 12:33 PM



In article <eJ1rjRFfDHA.2072 (AT) TK2MSFTNGP10 (DOT) phx.gbl>, Peter Hall
<pete_ha11 (AT) hotmail (DOT) com> writes
Quote:
There is also a stored procedure called sp_reassign_dtspackageowner that can
be used to achieve this.

Pete

Pete, be aware that this is only a temporary fix, as the information you
see in sysdtspackages is a really a copy of what is in the object model.
When you next save the package the sydtspackages information is
redundant since a new row will be written, based on the object model, so
the owner change you made is now lost.

--
Darren Green (SQL Server MVP)
DTS - http://www.sqldts.com

PASS - the definitive, global community for SQL Server professionals
http://www.sqlpass.org



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.