Quantcast
Channel: Transact-SQL forum
Viewing all articles
Browse latest Browse all 23857

How do I find which database a stored procedure exists

$
0
0
If I have, say, a dozen databases on a database server and am looking for a specific stored procedure without knowing which database it can be found, is there a way to query all of the databases to find the location of the stored procedure? I will need to either constrain it to a list of target databases or have an ability to exclude databases, such as system databases, that I either don't have access to or are not relevent.

Viewing all articles
Browse latest Browse all 23857

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>