FirebirdSQL/問答篇/列出索引名稱
出自VFP Wiki
By Thomas Steinmaurer (ts@iblogmanager.com)
you have to JOIN the RDB$INDICES table with RDB$INDEX_SEGMENTS.
For example:
select
i.rdb$index_name,
i.rdb$relation_name,
i_s.rdb$field_name,
i_s.rdb$field_position
from
rdb$indices i join rdb$index_segments i_s on (i.rdb$index_name = i_s.rdb$index_name)
order by 1