Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Find Procedures and tables by column

By sqldbadude,

The stored proc FindObjByColumn_sp, while simple, is extremely useful when making database changes or for any reason that you need to find any tables and stored procedures that contain a particular column.  It searches the system tables of a database to find the object containing the column.  In addition, the procedure automatically adds a wildcard so that the user does not have to know the complete name.  Finally, for stored procedures, it searches the text of the stored procedure and returns procedure names even if the name is used in a variable.

Total article views: 414 | Views in the last 30 days: 1
 
Related Articles
SCRIPT

Nested Stored Procedure

Nested Stored Procedure

FORUM

Store Procedure

Store Procedure

FORUM

stored procedure

stored procedure

FORUM

stored procedures

stored procedures

FORUM

stored procedure for seeding

stored procedure

 
Contribute