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)

Searching through SPs, Tables, Views

By Jano Petras,

This little procedure is very useful during development / support to quickly find all objects that may have something to do with a certain term, column name, part of thereof and so on.

I usually have a keyboard mapping in SQL Studio and when I highlight a column name for example, hit the shortcut, and get a reply with all tables, stored procedures, views that contain that term somewhere in their columns or definitions.

Total article views: 2692 | Views in the last 30 days: 3
 
Related Articles
FORUM

column size

column size

FORUM

Computed Column

Computed Column

FORUM

split columns

Split columns

FORUM

alter column

alter column

FORUM

add column between two column

add column between two column

Tags
dependent objects    
search    
 
Contribute