Is there a way I can find where stored procedures are called in a SQL Server 2005 database?
I tried using Find, but that doesn’t work like it does in Visual Studios.
Thanks in advance.
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 need to find database objects (e.g. tables, columns, triggers) by name – have a look at the FREE Red-Gate tool called SQL Search which does this – it searches your entire database for any kind of string(s).
So in your case, if you know what the stored procedure is called that you’re interested in – just key that into the search box and SQL Search will quickly show you all the places where that stored procedure is being called from.
It’s a great must-have tool for any DBA or database developer – did I already mention it’s absolutely FREE to use for any kind of use??