1 Sep 2004 03:18
pb with recursive call to procedures ?
<fabrice.bourdel <at> free.fr>
2004-09-01 01:18:28 GMT
2004-09-01 01:18:28 GMT
hello, I'm having a stange problem into a process (stored procedure). The purpose of this process is to generate a tree representation from a hierarchical representation. The process is recursive, and it seems i am loosing the position of the cursor by returning back from the recursive call (after one branch has been processed) In the slight exemple below, just A, B and C would be processed. I saw that unamed result tables have different "temporary" names and that's the reason why i don't understand that the process wouldn't be ok. Also with named results (with a declare xx cursor) the problem wouldn't change. When a procedure returns a cursor, the name can be set. But in my case, would it be possible ? bests regards. *************************************************** about the datas *************************************************** The hierarchical representation is : - id : internal number - lib : text - pere: father id(Continue reading)
RSS Feed