Quantcast
Viewing all articles
Browse latest Browse all 9076

Re: how to retrieve tree data with one sql query with sybase ase 12.5?

Very helpful info, Mark. thanks.

I have a tree data in a table with (id, parentid,...) the depth of the tree reach 100.

As I mentioned in for this post, I want to find out all parent id for any node. I have a easy solution with cursor, but with bad performance with large amount of data. When I try recursion trigger, it is not working as nest level limited to 16.  I am looking for a solution with set-base processing, but still in struggling.  will continue trying...


Viewing all articles
Browse latest Browse all 9076

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>