is there anyway we can change a value of a column automatically base on a date? like writing a
procedure or trigger?. I need the value to change without insert or updating any other table/column.
is there anyway we can change a value of a column automatically base on
Share
Not directly, no.
You can submit a job using either
DBMS_JOBorDBMS_SCHEDULERthat will run in the background and issue anUPDATEat a future point in time. You can submit the job from a trigger when the row is inserted or updated, i.e.Of course, depending on the number of rows we’re talking about, you are probably better served having a single job that runs every few minutes that updates the table based on a whatever criteria you define.