Nov 3, 2004 #1 Mike179 Programmer May 3, 2001 7 US Hi, Does anyone know if it's possible to run a query to find all of the tables that contain a certain column. For example: Search for all tables that contain the the column "CompanyID" Thanks in advance for any help, Mike
Hi, Does anyone know if it's possible to run a query to find all of the tables that contain a certain column. For example: Search for all tables that contain the the column "CompanyID" Thanks in advance for any help, Mike
Nov 3, 2004 #2 JayKusch MIS Oct 30, 2001 3,199 US select table_name from INFORMATION_SCHEMA.columns where column_name = 'Amount' Thanks J. Kusch Upvote 0 Downvote
Nov 3, 2004 Thread starter #3 Mike179 Programmer May 3, 2001 7 US Thanks Jay that's going to make my job a lot easier. Mike Upvote 0 Downvote