Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get list of user defined table from the database
Message
 
 
À
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:
01235393
Vues:
18
MS doesn't guarante that structure of the system tables wouldn't change in the future.

>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'
>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform