Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find stored procedure
Message
From
15/04/2019 19:29:09
 
General information
Forum:
Microsoft SQL Server
Category:
Database management
Miscellaneous
Thread ID:
01668087
Message ID:
01668088
Views:
40
>Hi,
>
>In my SQL Server 2008 I have tons of databases (for all customers). Some time ago I created a custom stored procedure for one of the customers. I know the stored procedure name. But I can't find it. Is there a command I can execute in my SSMS that will find the SQL database that has this SP?
>
>TIA

Dmitry,

The sys.procedures table has that information for you. You can query it by its name column using a regular SELECT statement (assuming you were granted enough privileges).
----------------------------------
António Tavares Lopes
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform