Oracle游标是可以带参数的,而SqlServer的游标就不可以了
create or replace procedure a
as
cursor b(c_id int)is select * from d where id=c_id;
begin
open b(111);
end;
Oracle游标是可以带参数的,而SqlServer的游标就不可以了
create or replace procedure a
as
cursor b(c_id int)is select * from d where id=c_id;
begin
open b(111);
end;