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
Post a Comment