|
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
/*Here's how to change the owner of a maintenance plan to dbo in SQL Server
2005*/ --to find the name and owner of the maintenance plan --select * from msdb.dbo.sysdtspackages90 --to find the sid you want to use for the new owner --select * from sysusers UPDATE [msdb].[dbo].[sysdtspackages90] SET [ownersid] = 0x01 WHERE [name] = 'MaintenancePlan' "Jim Early" wrote: > I would like to change the owner of several maintenance plans. I can't seem > to find a way to that without recreating each plan while connected as the new > owner. Is there a method similar to changing a job's owner via the job's > properties or a database's by sp_changedbowner? > > Thanks |
|
![]() |
| Outils de la discussion | |
|
|