Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find tables with specific field name?
Message
 
 
À
11/06/2008 09:20:54
Jay Johengen
Altamahaw-Ossipee, Caroline du Nord, États-Unis
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Maintenance bases de données
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01323056
Message ID:
01323099
Vues:
15
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform