Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving Sybase Advantage DataBase Server Indexes
Message
From
03/12/2012 13:33:50
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Retrieving Sybase Advantage DataBase Server Indexes
Miscellaneous
Thread ID:
01558624
Message ID:
01558624
Views:
77
Hi!

I'm trying to find out a way to retrieve the list of indexes for a given Sybase ADS table. So far, found two ways, but none of them seem to work. My guess is that they just work with Sybase, not the Advanced Database Server:
exec sp_helpindex 'tablename'
and
SELECT o.name,
       i.name
  FROM sysobjects o
  JOIN sysindexes i
    ON (o.id = i.id)
also
Execute Procedure sp_mgGetTableIndexes('tablename')
doesn't work. The helpfile says: "Returns a result set containing all indexes opened on the specified table.".

I don't know exactly what they mean by opened.

Any help?

Thanks!
Reply
Map
View

Click here to load this message in the networking platform