1.Get Content Size in folder SELECT SUM(r_full_content_size/1024.0) FROM dm_sysobject WHERE FOLDER('{0}', DESCEND) 2.Count of documents in each folder/subfolder SELECT fr.r_folder_path, COUNT(*) FROM dm_sysobject s, dm_sysobject_r sr, dm_folder_r f…
1.Get file extension SELECT dos_extension FROM dm_format WHERE name IN (SELECT a_content_type FROM dm_document(ALL) WHERE r_object_id = '{0}') 2.Get content path SELECT set_file FROM dmr_content WHERE r_object_id IN(SELECT i_contents_id FROM dm_doc…
1.Get user SELECT * FROM dm_user WHERE r_is_group = 0 2.Get Group SELECT * FROM dm_group WHERE group_class = 'group' 3.Get File SELECT * FROM dm_document(ALL) WHEREFOLDER('{0}') SELECT * FROM dm_document(ALL) WHEREFOLDER(ID('{0}')) 4.Get Versio…