Hi,
It's for SQL Server. I was wondering if someone can give me a Query to list documents with sizes under a folder and subfolders.
Thanks.
Do you want all documents and their byte-size?
Select dt.parentid, dtp.name “Parent”, dt.dataid, dt.name “Document”, dv.datasize
From dtreeancestorid dtan
Join dtree dt on dtan.dataid = dt.dataid and dt.subtype = 144
Join dtree dtp on dt.parentid = dtp.dataid
Join dversdata dv on dt.dataid = dv.docid and dt.versionnum = dv.version
Where dtan.ancestorid = %1
Colin J
From: eLink Entry: Content Server LiveReports Forum <livereportsdiscussion@elinkkc.opentext.com>Sent: Friday, July 13, 2018 4:16 PMTo: eLink Recipient <devnull@elinkkc.opentext.com>Subject: Query to list documents with sizes under a folder and subfolders
Query to list documents with sizes under a folder and subfolders
Posted bybaber.amin@hatch.com (Amin, Baber) On 07/13/2018 05:15 PM
[To post a comment, use the normal reply function]
Forum:
Content Server LiveReports Forum
Content Server:
My Support