Quantcast
Channel: Questions in topic: "cte"
Viewing all articles
Browse latest Browse all 75

CTE for directories

$
0
0
Hi, I need to get a summary of all files and their cumulative size per directory, as well as the total of all subdirectories in the parent, until I reach the root. I bump into several hurdles. 1) Not all directories are equally long in levels and therefor do not get taken into account with an anchor that selects on the maxlevel. 2) Summing of filesize and counting of files succeeds on a particular level, but I can't manage to take it up one level. 3) the recursion from bottom to top is not working as it should. Any suggestions on how to achieve this are greatly appreciated. Thanks, Eric

Viewing all articles
Browse latest Browse all 75

Trending Articles