select distinct StoredProcedureName = a.name ,TableName = b.name from sys.objects a inner join sys.sql_dependencies d on a.object_id = d.object_id inner join sys.objects b on b.object_id = d.referenced_major_id
ScrewTurn Wiki version 3.0.1.400. Some of the icons created by FamFamFam. Except where noted, all contents Copyright © 1999-2024, Patrick Jasinski.