Récupérer des indices de tableau associatif comme collection
Question
En PL / SQL, supposons que j'ai un tableau associatif défini comme suit:
declare
type a_arr_t is table of PLS_INTEGER index by PLS_INTEGER;
a_arr a_arr_t;
J'ai alors peu peu rempli le tableau comme suit:
begin
a_arr(1) := 2;
a_arr(10) := 4;
a_arr(100) := 6;
end;
Y a-t-il un opérateur ou une fonction qui peut me donner les indices du tableau, (1,10,100)
comme une collection quelconque, quelque chose comme indices of
dans un forall
déclaration?
Pas de solution correcte
Licencié sous: CC-BY-SA avec attribution
Non affilié à dba.stackexchange