简单的查询功能的存储过程
create or replace procedure test_count as
num number;
begin
select count(*) into num from config_table;
DBMS_OUTPUT.put_line('总条数'||num);
end test_count;
如何调用存储过程
存储过程的结果显示
set serveroutput on;
调用存储过程
execute test_count;