In MS SQL Server Database, use this query to get the tables and respective column names that contains the input text:
SELECT t.name AS tableName, c.name AS columnName
FROM sys.tables as t
INNER JOIN sys.columns AS c ON t.object_id=c.object_id
WHERE c.name LIKE '%%'