摘要: --循环create or replace procedure p_xunhuan(input in number,output out number) is temp number(10);begin temp := 0; for temp in 0..input loop begin output := input+temp; dbms_output.put_line('----'||output); end; end loop;... 阅读全文
posted @ 2014-02-10 15:31 艺言弈行 阅读(510) 评论(0) 推荐(0) 编辑
摘要: create or replace procedure test_score(input in number,output out char) isbegin if input>=90 then begin output := 'A'; end; end if; if input<90 then begin output := 'B'; end; end if; if input<80 then begin ... 阅读全文
posted @ 2014-02-10 15:19 艺言弈行 阅读(1633) 评论(0) 推荐(0) 编辑