variable rs refcursor
declare
r_out sys_refcursor;
begin
open r_out for select first_name, salary from employees where salary > 10000;
:rs := r_out;
end;
print rs
打印游標
最新推荐文章于 2022-07-17 20:30:18 发布
variable rs refcursor
declare
r_out sys_refcursor;
begin
open r_out for select first_name, salary from employees where salary > 10000;
:rs := r_out;
end;
print rs