Created
September 29, 2024 06:18
-
-
Save tomfa/1f949102c93e61db4d4f8c8826f9f40b to your computer and use it in GitHub Desktop.
Revisions
-
tomfa created this gist
Sep 29, 2024 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,6 @@ SELECT referencing_schema_name, referencing_entity_name, referencing_id, referencing_class_desc, is_caller_dependent FROM sys.dm_sql_referencing_entities ('REPLACE_WITH_TABLE_NAME', 'OBJECT'); GO