July 21, 2005 at 9:47 pm
Our previous DBA is no longer resident.
I'm removing old user accounts from prior staff and he is among them.
Given the amount of work the DBA did they are bound to be owners of some objects - not as dbo but possibly as domain/user. Is there an SP I can use that will whip through and identify all objects owned by this user?
I already have a script that will change object ownership but I'd like to ID them first before running this
July 22, 2005 at 3:41 am
also keep in mind this user can be databaseowner.
check out sp_changedbowner @loginame = 'sa' ,@map = 'true'
- http://www.sqlservercentral.com/scripts/contributions/1502.asp
- http://www.sqlservercentral.com/scripts/contributions/500.asp
Johan
Learn to play, play to learn !
Dont drive faster than your guardian angel can fly ...
but keeping both feet on the ground wont get you anywhere :w00t:
- How to post Performance Problems
- How to post data/code to get the best help[/url]
- How to prevent a sore throat after hours of presenting ppt
press F1 for solution, press shift+F1 for urgent solution 😀
Need a bit of Powershell? How about this
Who am I ? Sometimes this is me but most of the time this is me
July 24, 2005 at 2:29 pm
Excellent thanks
Viewing 3 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic. Login to reply