The following is an example of how to search tables for a value. It may not be the most efficient but it works
Tested against MS SQL Server 2000-2017
DECLARE @SearchStr nvarchar(100);
SET @SearchStr = 'SEARCH TEXT HERE';
CREATE TABLE #Results (ColumnName nvarchar(370), ColumnValue nvarchar(3630));