简体   繁体   English

Oracle SQL Developer如何查看sp的输出

[英]Oracle SQL Developer how to see output of a sp

I have done right click on the SP and the right side has an embedded table that has the params but I can't seem to enter the params there. 我已经在SP上单击鼠标右键,并且右侧具有一个包含参数的嵌入式表,但是我似乎无法在其中输入参数。 I was able to do what I needed in PL SQL but how do I run SP's now? 我能够执行PL SQL中所需的操作,但是现在如何运行SP?

you can run via block of plsql code. 您可以通过plsql代码块运行。

if you want to run only you can use following types of block-- 如果您只想运行,则可以使用以下类型的块-

declare
/*
parameter declaration .. just like your parameter types in SP.
like ..
*/
l_p_input_1 varchar2(980):= '<value you want to give>';
l_p_input_2 number := 33;
l_p_output_1 varchar2(889);
begin

sp_your_sP_name(l_p_input_1,
                l_p_input_2,
                l_p_output_1);
dbms_output.put_line('l_p_output_1 : '||l_p_output_1);
end;

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在Oracle Sql Developer中插入SP - Insert Into SP in Oracle Sql Developer 如何在Oracle SQL开发人员中查看不同类型的列 - How to see columns of different type in Oracle SQL developer Oracle Sql Developer输出格式 - Oracle Sql Developer Output formatting 当使用Oracle SQL Developer作为我的客户端时,如何为SQL Server调用sp_help [table] - How to call sp_help [table] for SQL Server when using Oracle SQL Developer as my client Oracle SQL Developer-格式查询输出 - Oracle SQL Developer - format query output Oracle DB&SQL Developer:“错误报告:执行完成并显示警告”-我如何*看到*警告? - Oracle DB & SQL Developer: “Error report: execution completed with warning” - How do I *see* the warning? ORACLE SQL Developer-看到UPDATE语句的确切结果吗? - ORACLE SQL Developer - see exact results of UPDATE statement? pandas.read_sql 和 Oracle sql developer 输出不同的结果 - pandas.read_sql and Oracle sql developer output different results 如何使用Oracle SQL Developer从存储过程中的现有表中输出多行? - How to output multiple rows from an existing table in a stored procedure using oracle sql developer? 如何在Oracle SQL Developer中使用spool命令将查询结果输出到CSV文件 - How to output query results to CSV file using spool command in Oracle SQL Developer
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM