RE:tough RECURSIVE QUERY, How?
From: Shajith, T V <shajith_thaze_at_bose.com>
Date: 1998/01/14
Message-ID: <01bd2132$1b3b6280$78b3448b_at_jmartintemp.bose.com>#1/1
Date: 1998/01/14
Message-ID: <01bd2132$1b3b6280$78b3448b_at_jmartintemp.bose.com>#1/1
T1=Passing Value
Loop
Loop for all values in T1
Call cursor c1(values of T1) Loop
If Cursor is not empty
Delete the (value of T1) from T2 (if exists)
Insert the cursor results to T2 if it is not already in T2
Insert the cursor results to T1 if it is not already in T1
If Cursor is empty
Insert the (values of T1) to T2
End loop
End loop
If T1 has the same no. of elements in the previous run and curren run
Exit
End if
End loop
Print the values from T2
End
Thanks, Received on Wed Jan 14 1998 - 00:00:00 CET
