Link to home
Start Free TrialLog in
Avatar of sirichaiphumirat
sirichaiphumiratFlag for United States of America

asked on

Finding a the correct field in in many databases

Is there a way to find a certain fieldname with big SQL database with many tables.

For example.   Database01    has 50 tables.     Microsoft SQL 2016

how would i find a filed called  Node if i don't know the location of the table?  Since there are 50 tables, it would be very hard to go through each table looking for the filed Node.


any help would be great.
Avatar of Pawan Kumar
Pawan Kumar
Flag of India image

There are two options for you. QUERY/FREE Tool
1. Write a query. For this you can refer
http://www.sqlmatters.com/Articles/Searching%20all%20columns%20in%20all%20tables%20in%20a%20database.aspx
2. Install a tool.
Eg. a. https://www.apexsql.com/sql_tools_search.aspx ,
      b. http://sqllocator.com/
Install and it will do a quick search for you.
Avatar of Éric Moreau
give a try to the free Red Gate SQL Search: https://www.red-gate.com/products/sql-development/sql-search/index
ASKER CERTIFIED SOLUTION
Avatar of Scott Pletcher
Scott Pletcher
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of sirichaiphumirat

ASKER

thank you.. worked great.