how to execute procedure with timer in oracle -


i need clear records in table if data exist 1 hour. know start time, have column "starttime" "date" data type. think need timer this,

how can in oracle ?

the requirements not quite clear.

is job/program have run once , delete records existed more hour? if case, can use..

delete <table_name> starttime < (sysdate-1/24); commit; 

if need purge records constantly, you'll need schedule job . frequency depend on how want records deleted.

what business case trying solve?


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

aspxgridview - Devexpress grid - header filter does not work if column is initially hidden -

c# - How to execute a particular part of code asynchronously in a class -