Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find tables with specific field name?
Message
 
 
To
11/06/2008 09:20:54
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Microsoft SQL Server
Category:
Database management
Environment versions
SQL Server:
SQL Server 2005
Miscellaneous
Thread ID:
01323056
Message ID:
01323099
Views:
13
>Is there a way in SQL Server Management Studio to find tables with a specific field name?
SELECT TABLE_NAME FROM INFORMATION_SCHEMA.TABLES 
WHERE TABLE_NAME IN ( 
        SELECT TABLE_NAME FROM INFORMATION_SCHEMA.COLUMNS 
        WHERE COLUMN_NAME='My Field' 
)
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform