Re: change ownership of objects
- From: "Uri Dimant" <urid@xxxxxxxxxxx>
- Date: Mon, 19 Feb 2007 09:56:03 +0200
To add on Hari's reply
Run the output in the QA
SELECT 'EXEC sp_changeobjectowner '''+ROUTINE_NAME+''',''dbo'''
FROM INFORMATION_SCHEMA.ROUTINES
WHERE OBJECTPROPERTY(OBJECT_ID(ROUTINE_SCHEMA+'.'+ROUTINE_NAME),
'IsMsShipped')=0
AND ROUTINE_SCHEMA != 'dbo'
"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)
.
- References:
- change ownership of objects
- From: berwiki
- change ownership of objects
- Prev by Date: Re: permission window
- Next by Date: Re: aduit connections to SQL Server
- Previous by thread: Re: change ownership of objects
- Next by thread: Re: change ownership of objects
- Index(es):
Relevant Pages
|
|