- Is there a quick way that I can find
which stored procedures run to a
particular table in my database? - The database is very large with lots of tables and SPROCS….
Is there a quick way that I can find which stored procedures run to
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you want to restrict the search to stored procedures then you can do this:
If you wanted to include other SQL modules — for examples, functions, triggers, views etc — then you could alter the query to do
WHERE type IN ('P', 'FN', 'IF', 'TF', 'V')etc, or use the alternative given in Martin’s answer.