获取正在进行的表分区ID

时间:2016-07-29 09:10:56

标签: sql openedge progress-db

在OpenEdge 11.4中实现表分区:knowledgebase.progress.com/articles/Article/P58968

select "_index-name"
from PUB."_index" idx,
     PUB."_file" fi
where fi."_file-name" = 'Customer'
  and **idx.rowid** = (select"_file"."_prime-index" from PUB."_file" fs
                       where fs."_file-name"='Customer'); 

如何更改上述查询以获取与ROWID进行比较的分区详细信息?

1 个答案:

答案 0 :(得分:3)

您可以改用pro_partn_rowid。

  <a href="//dhsintra/MKT/Job Bidding/Upcoming_Job_Bidding_Index.html" <span class="badge1" data-badge="new"></span>Upcoming Job Bidding</a><br>
  <a href="//dhsintra/MKT/7-11 Online Store/7-11_Components_Store_Index.html" <span class="badge1" data-badge="new"></span>7-11 Online Store</a><br>