How to find the tables being affected, the actually relationship, and type of query used in the or inside the stored procedure? I am making a drill down basically.