Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

find all tables with same column name

Status
Not open for further replies.

hyy1109

IS-IT--Management
Dec 16, 2002
27
US
Is there a way to find all tables with a column name called emp_no? Thanks.
 
This should give you what your looking for

Code:
Select
Table_Name 
From Information_Schema.Columns
Where Column_name = 'emp_no'

Shoot Me! Shoot Me NOW!!!
- Daffy Duck
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top