Does anyone know how to fetch oldest created folder and also the folder which has maximum number of depths?
Thanks in advance
Hi,
Query to find folder which is oldest
select min(r_creation_date) as oldestdate from dm_folder
Regards
Raja
Query to find depth of folder
select r_object_id,object_name,count(i_ancestor_id) from dm_folder group by r_object_id,object_name having count(i_ancestor_id)>10 enable (row_based).
hope this helps