A small query to search for the names of columns in all SQL tables
SELECT c.name AS 'ColumnName'
,t.name AS 'TableName'
FROM sys.columns c
JOIN sys.tables t ON c.object_id = t.object_id
WHERE c.name LIKE '%RECHERCHE%'
ORDER BY TableName,ColumnName;
0 Comments