Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get list of user defined table from the database
Message
De
25/06/2007 12:24:22
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Autre
Versions des environnements
SQL Server:
SQL Server 2000
Divers
Thread ID:
01235373
Message ID:
01235377
Vues:
13
there were few entries which are not table or atleast not created by me
like

MSpub_identity_range


there was other command that I used previously

select name from sysobjects where xtype = 'U' and status > 0 order by name

was there any error in this

Rajesh

>>how to get list of user defined table from the database
>
>You can uses information schema which conforms to SQL-92 Standard.
>
>SELECT * From INFORMATION_SCHEMA.TABLES
>	WHERE table_type = 'BASE TABLE'
>		AND table_name <> 'dtproperties'
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform