I want to find all column names in all tables in all databases. Is there a query that can do that for me? The database is Microsoft SQL Server 2000.
SELECT * FROM information_schema.columns WHERE column_name = 'My_Column'
You must set your current database name with USE [db_name] before this query.
USE [db_name]