Open krzysztofjordan opened 11 years ago
Putting this URL here for my reference: http://dba.stackexchange.com/questions/7147/find-highest-level-of-a-hierarchical-field-with-vs-without-ctes/7161#7161
Probably won't fix.
I will start working on this. Now that the queries are better and sends all the contents of the folder the number of queries will be smaller :P I don't think we can do this in a single query easily
Needs to make sure it can remove every file in the directory before it starts removing files