March 20, 2003 at 10:13 am
How do I determine what objects are owned by users other than dbo. Our developers have created objects with there own user name because they do not have dbo. I have changed what I can find, but I am still missing an object that is not owned by dbo. I am trying to drop all my users, but I can't because they still own objects.
March 20, 2003 at 11:06 am
March 21, 2003 at 11:25 am
With the following query you can better idea what objects and who is the owner:
<pre id=code><font face=courier size=2 id=code>
select so.name, so.uid, su.name
from sysobjects so,
sysusers su
where so.uid <> 1
ANDsu.uid=so.uid
ORDER by su.name
</font id=code></pre id=code>
Hope this Helps!!!
.
March 21, 2003 at 11:57 am
Thanks....
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply