Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Get a list of tables
Message
De
22/07/2004 22:25:36
 
 
À
22/07/2004 21:19:36
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00927255
Message ID:
00927264
Vues:
15
Winan,

I'm not sure if this is the 'standard' way, but one way is to query the information schema of the database...

select distinct table_name from MyDatabase.Information_schema.columns

That will get you a unique list of tables.

If you want a list of tables and columns...

select table_name,column_name from MyDatabase.Information_schema.columns

Kevin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform