DECLARE curseur1 refcursor; curseur2 CURSOR FOR SELECT ...; curseur3 CURSOR(key integer) IS SELECT ... WHERE id=key;