Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
Log in  ::  Register  ::  Not logged in

Get your favorite SSC scripts directly in SSMS with the free SQL Scripts addin. Search for scripts directly from SSMS, and instantly access any saved scripts in your SSC briefcase from the favorites tab.
Download now (direct download link)

Show valuable info from sysindexes

By Rodrigo Acosta,

This sp (sp_sysindexes) captures important columns from the table sysindexes and translates the numeric values into text. It shows the owner.object, the filegroup which it belongs to, the type of index, the total number of pages for tables/clustered indexes and non clustered indexes. It also shows the status, the indid and the type of object.
You can execute it within any database or specify the database.
If you specify an option, the sp can also generate a log file with its result.

example: sp_sysindexes 'northwind', 'Y'

Total article views: 3587 | Views in the last 30 days: 10
Related Articles

Noncluster at sysindexes

Noncluster at sysindexes


Noncluster at sysindexes

Noncluster at sysindexes



SQL2000, errors 8929,8928,8939,8965,8964 on SYSINDEXES


Table not showing PK - PK is in sysindexes ?

Tables missing indexes but there seem to be entries for the indexes already in sysindexes ?


object_name(id) returning Null



Join the most active online SQL Server Community

SQL knowledge, delivered daily, free:

Email address:  

You make SSC a better place

As a member of SQLServerCentral, you get free access to loads of fresh content: thousands of articles and SQL scripts, a library of free eBooks, a weekly database news roundup, a great Q & A platform… And it’s our huge, buzzing community of SQL Server Professionals that makes it such a success.

Join us!

Steve Jones

Already a member? Jump in:

Email address:   Password:   Remember me: Forgotten your password?
Steve Jones