Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Verification on script to retrieve the indexes on a tabl
Message
 
 
À
14/03/2008 18:55:24
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Scripting
Divers
Thread ID:
01301985
Message ID:
01302361
Vues:
14
>>For SQL 2005 and later you can use sys.indexes system view
>>
>>SELECT name FROM sys.indexes
>>	WHERE is_primary_key = 0
>>		AND OBJECT_name(object_id) = 'ArchiveRetrieval'
>>
>
>This is great. It gives me all the indexes without the primary key.
>
>Thanks

You're welcome
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform