>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