简体   繁体   中英

Executing a stored procedure in Oracle SQL Developer

I am looking for some help in getting the following stored proc to work: I get anonymous block completed and not able to see the result. It works perfectly fine in PL/SQL devloper's "tes" window, but I would like to see it work in the ORACLE SQL Developer


DECLARE  
TYPE OUTPUT_CURSOR IS REF CURSOR  
t_c OUTPUT_CURSOR  
BEGIN  
P_M.E_S.T_S_QUERY( 123,'ABC','20100101','20100131','ALL',:t_c);    
END;  

确保使用“查看-> DBMS输出”并在结果窗口中单击“ +”按钮来启用DBMS输出。

In SQL developer we can see the Stored Procedure output by enabling DBMS OUTPUT. You can go to VIEW menu and find this option. (Don't forget to enable DBMS output for the desired connection by pressing CTRL+N (the + button))

Hope this makes sense. :)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM