Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Comprehensive index information

Status
Not open for further replies.

coughe

Programmer
May 15, 2007
3
CA
I need to gather all the applicable options (and their values if applicable) that could have been used on an index during creation/alteration.

Does anyone know what system tables may hold the information concerning the following create-index options:
1) "with consumers = x" clause
2) "statistic using <num_steps> values" clause
3) "on segment_name" clause
4) index_partition clause ::= [ local index [partition_name [on segment_name ]
[, partition_name [ on segment_name ] ... ] ] ]

Thanks
 
What is the OS that you are using on the database server?

If it is Linux, then in the
/opt/sybase/sybcent41/bin directory there is a program scjview. Run it in the graphic mode and you get the sybase central front end. Connect to the database and go to the index you wish to see. Right click on it and generate DDL.

Hopefully that is what you were asking.

If it was on windows. I guess there is still an option to install the Sybase Central tool there too. It looks pretty similar and should function nearly the same.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top