Article ID: 179151
Article Last Modified on 3/14/2005
BUG #: 17701 (6.5)
15729 (6.0)
select name,uid from sysobjects
where uid NOT IN (select uid from sysusers)
and type = 'P'
use USER_DB -- user_db is the database with the orphaned object
go
sp_configure allow,1 -- allows update to system tables
reconfigure with override
go
update sysobjects set uid=1
where name = 'name of stored procedure returned in Step 2'
go
drop procedure <name of stored procedure returned in Step 2>
go
sp_configure allow,0 -- disallows update to system tables
reconfigure with override
go
Additional query words: permission unhandled exception GPF AV access violation proc st stproc
Keywords: kbbug kbsqlserv650bug KB179151