|
|
|
#1 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
> 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/ |
|
![]() |
| Outils de la discussion | |
|
|