简单的存储过程

来源:互联网 发布:社交软件的普遍性 编辑:程序博客网 时间:2024/05/22 03:43

create or replace procedure tt is


begin
  declare
    v_test test1%rowtype;
  begin
    v_test.proxy := '11';
    v_test.AA    := 'a1';
    v_test.BB    := 'b1';
    insert into test1 values v_test;
    commit;
    dbms_output.put_line('aa');
  end;

end tt;


table test1  为数据库表。


0 0