Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change DTS owner

Status
Not open for further replies.

rsbutterfly16

IS-IT--Management
Apr 19, 2007
53
US
hi guys! i am trying to change the owner of my dts but i keep getting an error:

Server: Msg 170, Level 15, State 1, Line 1
Line 1: Incorrect syntax near 'nameofDTS'.

this is what i am using:

use msdb
go
sp_reassign_dtspackageowner [@name =] 'nameofdts',
[@id =] 'id',
[@newloginname =] 'newloginname'
 
[@name=],[@ID] and [@newloginname =] is just a twisted way of stating you can place a variable there, you need yo leave it out.

Use MSDB
GO
exec sp_reassign_dtspackageowner 'PackageName' , 'id' , 'new_owner'


Well Done is better than well said
- Ben Franklin
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top