摘要:
create or replace procedure p_test(p_cur out sys_refcursor)asbegin open p_cur for select * from F_RELATION;end p_test;DECLARE test_cur sys_refcursor ; 阅读全文
摘要:
1.无参存储过程 create or replace procedure test_procasv_total number(10);begin select count(*) into v_total from F_RELATION; DBMS_OUTPUT.put_line('总人数:'||v_ 阅读全文
摘要:
declaremsg varchar2(100);num integer :=1;begin msg :='a';case msg when 'a' then dbms_output.put_line('1');else dbms_output.put_line('3');end case ;<<b 阅读全文