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;

 

相关文章:

  • 2022-12-23
  • 2021-10-18
  • 2022-12-23
  • 2022-02-07
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2021-11-23
  • 2021-11-29
  • 2021-08-25
  • 2022-12-23
  • 2022-12-23
  • 2021-11-12
  • 2022-12-23
相关资源
相似解决方案