PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Hébergement serveur > comp.db.ms-sqlserver > [Newbie Question] SSMS indexes
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
[Newbie Question] SSMS indexes

Réponse
 
LinkBack Outils de la discussion
Vieux 03/10/2008, 09h33   #1
Vogon Jeltz
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut [Newbie Question] SSMS indexes

Under SSMS where can one find the list of indices?
I can see Stored procedures under Programmability. Is there any place
where I can see the list of indexes.


Apologies, if this is a stupid question.

--
VJ

  Réponse avec citation
Vieux 03/10/2008, 12h39   #2
Erland Sommarskog
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [Newbie Question] SSMS indexes

Vogon Jeltz (srivatsav.prasanna@gmail.com) writes:
> Under SSMS where can one find the list of indices?
> I can see Stored procedures under Programmability. Is there any place
> where I can see the list of indexes.
>
>
> Apologies, if this is a stupid question.


In Object Explorer you can see the indexes only per table; there is no node
that lists indexes alone.

However, you could run this query to see all indexes in the database:

SELECT object_name(object_id), name
FROM sys.indexes
WHERE index_id > 0




--
Erland Sommarskog, SQL Server MVP, esquel@sommarskog.se

Books Online for SQL Server 2005 at
http://www.microsoft.com/technet/pro...ads/books.mspx
Books Online for SQL Server 2000 at
http://www.microsoft.com/sql/prodinf...ons/books.mspx
  Réponse avec citation
Vieux 03/10/2008, 13h00   #3
Dan Guzman
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: [Newbie Question] SSMS indexes

> Under SSMS where can one find the list of indices?

Indexes are dependent on a specific table so you need to first expand the
desired table node, where you will see an Indexes node. Note that SSMS will
include indexes that support constraints under the Indexes node too.

--
Hope this s.

Dan Guzman
SQL Server MVP
http://weblogs.sqlteam.com/dang/

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h44.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,10485 seconds with 11 queries