Roeland
Member³
Hi,
I have declared a cursor in one package and i want to assign it in another package:
Example:
Package Test1 ...
cursor c1 is
select 'a', 'b' from dual;
...
end Test1;
Package Test2...
cursor c2 = Test1.c1; -- Something like this??
-- or
type c2 is cursor Test1.c1; -- Something like this??
end Test2;
I hope it's clear what i want to achieve. (to make a new cursor type that references another cursor type).
Does anyone know how to do this?
I have declared a cursor in one package and i want to assign it in another package:
Example:
Package Test1 ...
cursor c1 is
select 'a', 'b' from dual;
...
end Test1;
Package Test2...
cursor c2 = Test1.c1; -- Something like this??
-- or
type c2 is cursor Test1.c1; -- Something like this??
end Test2;
I hope it's clear what i want to achieve. (to make a new cursor type that references another cursor type).
Does anyone know how to do this?