×

Good News Everybody!

The new search engine is LIVE!

Please report any problems to david (at) midrange.com.




Wow. It's examples like this that demonstrate how deficient my SQL
knowledge is. Just call me Grasshopper.

The list I created manually matches what your UDTF did.

Thank you for sharing this, Jonathan!

- Dan

On Thu, May 7, 2015 at 12:22 PM, Jonathan Mason <Jonathan.Mason@xxxxxxxxxxx>
wrote:

Hi Dan

I use the following UDTF which produces an indented hierarchical list of
objects and programs/modules/service programs that call them. So, for
example, if PGM3 was called by PGM2A and PGM2B and PGM2B was called by PGM1
then the result would look like:

Level Program
1 PGM3
2 PGM2A
2 PGM2B
3 PGM1

The source for the UDTF is shown below:

<snip>

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2026 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.