SQL Search is a free add-in for SQL Server Management Studio that lets you quickly search for SQL across your databases.

Why use SQL Search?

Impact Analysis

You want to rename one of your table columns but aren't sure what stored procedures reference it.

Using SQL Search, you can search for the column name and find all the stored procedures where it is used.

Work faster

Finding anything in the SSMS object tree requires a lot of clicking.

Using SQL Search, you can press the shortcut combo, start typing the name, and jump right there.

Make your life easier

You need to find stored procedures you've not yet finished writing.

Using SQL Search, you can search for stored procedures containing the text TODO.

Increase efficiency, reduce errors

Using SQL Search, you can look for SELECT * in the text of stored procedures and views and replace them with a correct list of columns to improve performance and prevent future bugs.

Screenshots

How to find objects with SQL Search

SQL Search integrates into SQL Server Management Studio

Pick the objects and databases you want to search

You get results as you type

Quickly jump to the found objects

What our customers are saying

“When a database contains several hundred objects, it can be a pain finding the correct table or remembering the name of an obscure stored procedure.

With SQL Search installed, I no longer have to trawl through Management Studio's Object Explorer to find what I'm looking for - it is usually only a few keystrokes away.”

Jeremy Skinner, Senior Software Developer, The Sixth Form College Farnborough

“For large databases it's never been easy to find schema items and SQL Search is fast and unobtrusive, it's there when I need it, and provides the results I need quickly.”

David Sussman, ASP.NET consultant

“I use several stored procedures for various business tasks, all based on manufacturing floor activities. These are based, in turn, on the Station ID of individual test computers – I work for a consumer electronics manufacturer, and we test our product at various stages of the process.

Management, in their infinite wisdom, decided that changing the Station IDs, so we could assign a block of them to vendors, was a good idea. This rendered many of my processes basically dead, because my WHERE clauses were of the form WHERE STID = x. Suddenly, nothing was getting returned and a lot of automation stopped. I had over a hundred procedures affected.

Using Redgate's SQL Search, I found every affected procedure in just one hour, and was able to make all the pertinent changes to get all the automation flowing again. Thank you Redgate!!!”

David Taylor, DBA

“We have had the occasion to move databases to a new server.

SQL Search would make it easier to find all of the instances where the previous server was mentioned by name and correct them.

This has also happened as data is moved to new databases and references to the old database need to be changed.”