Re: change ownership of objects
- From: "Hari Prasad" <hari_prasad_k@xxxxxxxxxxx>
- Date: Fri, 16 Feb 2007 16:49:19 -0600
To add on to my previous post to change DTS owner use:-
use msdb
go
sp_reassign_dtspackageowner [@name =] 'name',[@id =] 'id',[@newloginname =]
'newloginname'
Thanks
Hari
"Hari Prasad" <hari_prasad_k@xxxxxxxxxxx> wrote in message news:...
Hello,
Fiirst of all change the password for his account to a one with special
charecters, so as no one can access. After that you could use
sp_changeobjectowner system proc to change the owner of all object from
that user to DBO. take
alook into sp_changeobjectowner in books online..Once you completed the
object owner to DBO you could drop the user and
login associated.
Thanks
Hari
"berwiki" <steveberwick@xxxxxxxxx> wrote in message
news:1171656219.472511.150980@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
A co-worker recently quit the company, and all of his stored
procedures and DTS packages are apparently under his name. Is there
any way to change his account to another (ie administrator or SA)??
I am afraid to delete his account in fear all the stored procedures
will be lost. (we have backups, but ... ugh)
(running mssql server 2000)
.
- Prev by Date: Re: change ownership of objects
- Next by Date: Re: Programatically Create User Login
- Previous by thread: Re: change ownership of objects
- Next by thread: Re: Programatically Create User Login
- Index(es):
Relevant Pages
|