I am getting the error when I use the below command in SQL;
EXEC SYS.DBMS_SESSION.SLEEP(1);
But If I use the DBMS_LOCK then it's working.
EXEC SYS.DBMS_LOCK.SLEEP(1);
ref : https://oracle-base.com/articles/18c/dbms_session-sleep-18c
is there something I am missing while using this command ?