Wait, you want to use factorials or you want to use recursion? A factorial-based approach would involve mapping 0.. (n! - 1) to different permutations. A recursive approach (which is what I would use) ...
The basic concept of recursion is straightforward: a given chunk of code calls itself until some boundary condition is reached. Arthur Fuller demonstrates how to use recursion in T-SQL. TechRepublic’s ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results