Вы должны попробовать это решение . Для получения дополнительной информации, вы должны посетить эту ссылку .
SELECT
o.name AS ReferencingObject,
sd.referenced_entity_name AS ReferencedObject
FROM sys.sql_expression_dependencies AS sd
INNER JOIN sys.objects AS o
ON o.object_id = sd.referencing_id
WHERE sd.referenced_entity_name = 'my_object_name';
OR
SELECT name AS ProcedureName ,
CONVERT(VARCHAR(10), SysObj.modify_date, 103) AS [Create/Modify Date] ,
CONVERT(VARCHAR(15), CAST(SysObj.modify_date AS TIME), 100) [Create/Modify Time]
FROM sys.objects SysObj
WHERE SysObj.type = 'P'
AND DATEDIFF(D, SysObj.modify_date, GETDATE()) < YEAR(GETDATE())
OR
SELECT name AS ProcedureName ,
CONVERT(VARCHAR(10), SysObj.modify_date, 103) AS [Create/Modify Date] ,
CONVERT(VARCHAR(15), CAST(SysObj.modify_date AS TIME), 100) [Create/Modify Time]
FROM sys.objects SysObj
WHERE SysObj.type = 'P'
ORDER BY SysObj.modify_date DESC