SQL Server Central is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
Search:  
 
 

Find occurence of any value in database!

By Reddy Software Solutions, 2007/12/31

Total article views: 1599 | Views in the last 30 days: 197

Simply pass the proc a value and it will search the entire database reporting every occurence of the word in tables, views, stored procedures, functions, etc...

Best of all, if you create a key stroke shortcut to execute the proc, you can highlight any text in your editor and search for it instantly. And because the proc's only parameter is of type SQL_VARIANT, there's no need to
surround the input parameter with single quotes! Hightlight, click, and find!

This proc does not query contnet of tables - I have another proce for that. Email me if interested.

Please feel free to email me with any questions, thoughts, or comments. And search SQLServerCentral for my other helpful scripts.

By Reddy Software Solutions, 2007/12/31

Total article views: 1599 | Views in the last 30 days: 197
Your response
 
 
Related tags

Search    
String Manipulation    
T-SQL    
 
Like this? Try these...

Refresh All Views

By BeoWulf . | Category: T-SQL
| 578 reads
Already registered?  

Free registration required

To read the rest of this article, and access thousands of other articles, we ask you to register on the site and subscribe to our newsletters.

Register

E-mail address:
Password:
Password (confirm):

  

Subscriptions

We ask you to register on the site and subscribe to our newsletters. Subscribing to our newsletters gets you:

  • ALL of our content (thousands of articles, scripts, and forum postings)
  • A daily newsletter (example)
  • A weekly news round up (example)
  • The opportunity to ask and answer questions in our forums
  • A daily Question of the Day to test and help you increase your knowledge of SQL Server.

We ask that you give the newsletter a try for a week. Over 200,000 SQL Server Professionals a day find it entertaining and useful. If not, you are welcome to unsubscribe at anytime.

Steve Jones
Editor, SQLServerCentral.com