Quantcast
Channel: PTC Community: Message List - Windchill
Viewing all articles
Browse latest Browse all 8876

Re: How to Get Physical Vault File size for each iterated CAD Document in a particular lifecycle state on each Product containter

$
0
0

Dear Ben Perry ,

 

can you clarify, why the below 2 query output differs. I am fetching epmdocuments with INWORK Status. why Query1 and Query 2 output differs.

 

 

Query 1 :

select 

  count (*)

from 

  applicationdata ad, 

  holdertocontent htc, 

  epmdocument ed, 

  epmdocumentmaster edm, 

  pdmlinkproduct prod 

where 

  ad.ida2a2=htc.ida3b5 

  and htc.ida3a5=ed.ida2a2 

  and ed.ida3masterreference=edm.ida2a2 

  and ed.ida3containerreference=prod.ida2a2 

  and ad.role='PRIMARY' 

  and ed.statestate='INWORK'

 

  output : 238563 rows selected

 

Query 2 :

select count(*) From epmdocument where statestate='INWORK'

  output : 449569 rows selected


Viewing all articles
Browse latest Browse all 8876

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>