Bonjour j'aimerai bien faire une union de curseur dynamique un peu du genre :

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 
procedure P1 ( C1 OUT SYS_REFCURSOR ) IS
BEGIN
<div style="margin-left:40px">open C1 for.......</div>END;
 
 
procedure P2 ( C2 OUT SYS_REFCURSOR ) IS
BEGIN
<div style="margin-left:40px">open C2 for.......</div>END;
 
 
procedure P3 ( C3 OUT SYS_REFCURSOR ) IS
   tmp1 SYS_REFCURSOR;
   tmp2 SYS_REFCURSOR;
BEGIN
<div style="margin-left:40px">P1(tmp1);
P2(tmp2);</div><div style="margin-left:40px">open C1 for { un truc du genre tmp1 union tmp2 }</div>END;

Mais cela ne fonctionne pas et je ne sais pas comment faire.
Qi quelqu'un a une idée, je suis preneur....


Merci de votre aide.