Information on Primary Keys, Indexes
Posted in 2006
Topics: General Discussion
Myjish — — source: Usenet: comp.databases.informix
Hi, How to get information on all primary keys, unique keys, indexes? Please advise. Regards Jignesh
↪ replying to Myjish
VG — — source: Usenet: comp.databases.informix
Run queries against the sysindexes table to get appropriate information with the appropriate tabid. tabid for a table can be obtained from systables. VG.
↪ replying to Myjish
glericu — — source: Usenet: comp.databases.informix
hello!
for all tables the best method is dbschema -d <database>
for a specified table:
echo info indexes for <table>|dbaccess <database>
regards
glenn
Myjish schrieb:
> Hi,
>
> How to get information on all primary keys, unique keys, indexes?
>
> Please advise.
>
> Regards
> Jignesh