SQL: Search all table columns for specific text

I needed to find out which columns within all tables in the database, contained a specific string of text. I therefore wrote the script below 1 to do exactly that 🙂

  1. Please ensure you test any script taken from my website on a test/development machine, before running on a production server.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

CJayMead's SQL Server, Endeca, MS Office Help © 2018