在Progress数据库的早期版本(9.X,10.X)中,以下查询可以很好地找到表的主索引。
select "_index-name"
from PUB."_index" in, PUB."_file" fi
where fi."_file-name"='tableName'
and in."rowid" =
(select"_file"."_prime-index"
from PUB."_file" fs
where fs."_file-name"='tableName');
Run Code Online (Sandbox Code Playgroud)
现在,在进度v11.6上已删除了rowid,是否有任何SQL查询通过ojdbc来获取进度数据库表的主索引?