Solomon,
Part of my assumption was that the values be distinct and that has not been disputed, although it has not been confirmed either. Assuming that is the case, applying distinct outside your function, I am getting faster results with a pipelined function that uses recursive sql than with your recursive function. Am I missing something or is there a better way?
Barbara