日期:2014-05-17 浏览次数:20757 次
create or replace procedure testp is par1 number; par2 number; newpar number := 100; begin select 100,200 into par1,par2 from dual; newpar:=newpar+par1/par2; dbms_output.put_line(newpar); exception when others then dbms_output.put_line('errors'); end; / set serveroutput on; exec testp;