यहाँ मेरे लिए क्या काम किया है:
-- Based on comment from https://blogs.msdn.com/b/askjay/archive/2012/07/22/finding-missing-dependencies.aspx
-- Check also https://technet.microsoft.com/en-us/library/bb677315(v=sql.110).aspx
select o.type, o.name, ed.referenced_entity_name, ed.is_caller_dependent
from sys.sql_expression_dependencies ed
join sys.objects o on ed.referencing_id = o.object_id
where ed.referenced_id is null
देर से बाध्यकारी के साथ समस्याओं को हल करने के लिए आपको अपने एसपी के लिए सभी लापता निर्भरताएं मिलनी चाहिए।
अपवाद :is_caller_dependent =1 का मतलब टूटी हुई निर्भरता नहीं है। इसका सीधा सा मतलब है कि निर्भरता को रनटाइम पर हल किया जाता है क्योंकि संदर्भित वस्तु की स्कीमा निर्दिष्ट नहीं है। आप संदर्भित ऑब्जेक्ट की स्कीमा निर्दिष्ट करने से बच सकते हैं (उदाहरण के लिए एक और एसपी)।
जय के ब्लॉग और अनाम टिप्पणीकार...