首页 > Linux操作系统 > Linux操作系统 > ORACLE 使用DBMS包
例如:grant execute on dbms_lock to hr;
执行脚本:
declare
i integer :=1;
begin
while i<100
loop
insert into test1 values(sysdate);
i:=i+1;
dbms_lock.sleep(1);
commit;
end loop;
end;
/
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24751738/viewspace-707056/,如需转载,请注明出处,否则将追究法律责任。