Query against sysobjects and sysindexes:
SELECT o.name,
i.name
FROM sysobjects o
JOIN sysindexes i
ON (o.id = i.id)
Documentation for interpreting sysobjects and sysindexes system tables is available on the Sybase website.
Download the stored procedure library from http://www.edbarlow.com/ and enter sp__helpindex
or use the provided Sybase sp_helpindex, which expects the table name as a parameter.
source
share