Just wondering if you could help me with a question. I have been told to write a function or anonymous block that will run until you put an item in a table/ The programme should check every 5 seconds for an entry. It should output a message informing you of the fact that a check took place. Once the entry is found it will inform you that it found the entry, remove the entry and then exit.
I have been trying to complete this for ages now, but no luck.
Any help would be very appreciated.
Thank you.
You must use a while loop and to aid you the 5 seconds may be controlled by calling dbms_lock.sleep(5);