|
database
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
viewing index info in query analyzerDoes anyone know of a way to get index info on a table within query analyzer?
In the same way that you can run sp_pkeys, sp_columns, sp_tables etc.... -- AHIhelp How about sp_helpindex ? Or use the system tables directly: sysindexes, sysindexkeys, sysobjects.
-- Show quoteTibor Karaszi, SQL Server MVP http://www.karaszi.com/sqlserver/default.asp http://www.solidqualitylearning.com/ Blog: http://solidqualitylearning.com/blogs/tibor/ "AHIhelp" <AHIh***@discussions.microsoft.com> wrote in message news:39084EA2-3FD5-4E9D-987D-8AED76FD746A@microsoft.com... > Does anyone know of a way to get index info on a table within query analyzer? > In the same way that you can run sp_pkeys, sp_columns, sp_tables etc.... > -- > AHIhelp > Does anyone know of a way to get index info on a table within query Such as this?> analyzer? > In the same way that you can run sp_pkeys, sp_columns, sp_tables etc.... sp_HelpIndex TableName -- Peace & happy computing, Mike Labosh, MCSD "When you kill a man, you're a murderer. Kill many, and you're a conqueror. Kill them all and you're a god." -- Dave Mustane Also...check out the Manage Indexes graphical tool in QA. Makes viewing and
managing indexes much easier. HTH Jerry Show quote "AHIhelp" <AHIh***@discussions.microsoft.com> wrote in message news:39084EA2-3FD5-4E9D-987D-8AED76FD746A@microsoft.com... > Does anyone know of a way to get index info on a table within query > analyzer? > In the same way that you can run sp_pkeys, sp_columns, sp_tables etc.... > -- > AHIhelp |
|||||||||||||||||||||||