调用此接口将使用户程序休眠指定的时长。
DBMS_LOCK.SLEEP (seconds IN NUMBER);
DECLARE BEGIN dbms_output.put_line(SYSDATETIME()); DBMS_LOCK.SLEEP(2);--休眠两秒 dbms_output.put_line(SYSDATETIME()); END ; /