Quantcast
Channel: Questions in topic: "objects"
Viewing all articles
Browse latest Browse all 16

How do I remove orphaned stored procedures

$
0
0

I have found stored procedures that have broken references between sys.sysobjects and sys.modules. The object_id and object_name do not seem to match up on about 180 stored procedures in the database. I have checked for different schemas but that is not the case. Using a dbForge tool I was able to determine that all of these had an "invalid object name" reference (usually a table that does not exist.) My concern is that we will not be able to remove these since they are not consistent in the system views/tables.

I am not sure this rambling question makes any sense but, if you understand the issue I would appreciate any assistance you can provide.


Viewing all articles
Browse latest Browse all 16

Latest Images

Trending Articles





Latest Images