SQL> --
SQL>
SQL> CREATE OR REPLACE PROCEDURE HELLO AS
2 BEGIN
3 DBMS_OUTPUT.PUT_LINE ('Hello World! ' || TO_CHAR(SYSDATE,'MM-DD-YY HH:MM:SS AM'));
4 END;
5 /
Procedure created.
SQL>
SQL>
SQL> DECLARE
2 v_JobNum BINARY_INTEGER;
3 BEGIN
4 DBMS_JOB.SUBMIT(v_JobNum,'HELLO;',SYSDATE, 'SYSDATE + (1/(24*60*60))');
5 END;
6 /
PL/SQL procedure successfully completed.
SQL>
SQL> --
|