insert into net_user
(username,password,prority,group_id,descript)
values
(p_username,p_password,0,p_group_id,p_descript);
commit;
exception
when others then
rollback; //null; 你如果想不捕捉这个错误
end;
(username,password,prority,group_id,descript)
values
(p_username,p_password,0,p_group_id,p_descript);
commit;
exception
when others then
rollback; //null; 你如果想不捕捉这个错误
end;
exception
when others then
rollback;
先提交了,那如果有错误还能回滚吗?是不是要把commit放到后面啊?