DECLARE
seq_id tb_ysgl_ysbz.ysbzid%TYPE;
begin
insert into tb_ysgl_ysbz (yskmid) values(seq_ysbz.nextval) returning ysbzid into seq_id;
COMMIT;
DBMS_OUTPUT.PUT_LINE('INSERT: ' || seq_id);
end;
seq_id tb_ysgl_ysbz.ysbzid%TYPE;
begin
insert into tb_ysgl_ysbz (yskmid) values(seq_ysbz.nextval) returning ysbzid into seq_id;
COMMIT;
DBMS_OUTPUT.PUT_LINE('INSERT: ' || seq_id);
end;