I'm using
SELECT DISTINCT
COLUMN_NAME AS 'ColumnName',
TABLE_NAME AS 'TableName'
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE
COLUMN_NAME LIKE '%phone%'
ORDER BY
TableName, ColumnName;
Now, what I would like to know. How can I view what's written inside that column?
Because I'm searching for names, numbers, emails, etc. Since you may already know that this piece of code only displays the column and table name.
Thank you in advance, and if you need any more information, just ask away!