How to test an Oracle Stored Procedure with RefCursor return type?

前端 未结 6 916
庸人自扰
庸人自扰 2020-12-02 12:13

I\'m looking for a good explanation on how to test an Oracle stored procedure in SQL Developer or Embarcardero Rapid XE2. Thank you.

6条回答
  •  庸人自扰
    2020-12-02 12:50

    In Toad 10.1.1.8 I use:

    variable salida refcursor
    exec MY_PKG.MY_PRC(1, 2, 3, :salida)  -- 1, 2, 3 are params
    print salida
    

    Then, Execute as Script.

提交回复
热议问题