DBMS_LOCK.sleep procedure to suspend the session in Oracle
DBMS_LOCK.sleep procedure to suspend the session in Oracle DBMS_LOCK.sleep procedure suspends the session for a given period of time or specified time in the procedure, it will wait to complete procedure then next SQL statement will execute. DBMS_LOCK.SLEEP (seconds IN NUMBER); seconds: Amount of time, in seconds, to suspend the session. The smallest increment can