Quantcast
Channel: PTC Community : All Content - Windchill
Viewing all articles
Browse latest Browse all 6049

Oracle / Windchill File count

$
0
0

Afternoon All,

 

I'm trying to get a total count of .DRW & .PRT & .ASM files on my system.

 

We are currently using Windchill 10.1 with Oracle.

 

My current method is by running these Oracle queries:

 

SQL> SELECT count(*) FROM EPMDocumentMaster WHERE name like '%.asm';

   COUNT(*)

----------

       1568

 

SQL> SELECT count(*) FROM EPMDocumentMaster WHERE name like '%.prt';

   COUNT(*)

----------

       7055

 

SQL> SELECT count(*) FROM EPMDocumentMaster WHERE name like '%.drw';

   COUNT(*)

----------

        200

 

QL> SELECT COUNT(*) FROM EPMDocumentMaster WHERE authoringapplication='PROE';

   COUNT(*)

----------

      19487

 

However I do not think these values are correct??

 

In Windchill front end If I search for *.DRW I get over 2k results, but it wont display more than 2k so I cant use this as a reliable counter.

 

How can I double check these results / Is there a better way to be doing this?

 

Mike


Viewing all articles
Browse latest Browse all 6049

Trending Articles



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