Hi,
Is there a way to Calculate the size of only latest versions of the all items?
Intention is when I'll make copy of the production system then I'll only be keeping the latest version of the documents to save space.
Thanks.
Hi Baber,
I believe DTree VersionNum is the latest version number. Therefore, you can join dtree.versionnum with dversdata.version to calculate only the current versions:
select sum(b.datasize) from dtree a, dversdata bwhere a.dataid = b.docidand a.versionnum = b.version
Hope that's correct. You'll have to do the conversion from kb to mb, of course.
Thanks very much Donna.