Get resultset from oracle stored procedure

前端 未结 7 2355
生来不讨喜
生来不讨喜 2020-11-27 13:38

I\'m working on converting a stored procedure from SQL server to Oracle. This stored procedure provides a direct resultset. I mean that if you call the stored procedure in

7条回答
  •  旧时难觅i
    2020-11-27 14:11

    Oracle is not sql server. Try the following in SQL Developer

    variable rc refcursor;
    exec testproc(:rc2);
    print rc2
    

提交回复
热议问题