-1
I often run a Update
on Oracle to change the status in my database, but I would like this update to run automatically, once a day.
UPDATE inativa_produto set compras = 'N', estoque = 'N', distribuição = 'N' em que data_final <sysdate
The above update checks the item inactivity surveillance data and is the same for the lower current data or column status (purchases, inventory and distribution) that are changed to 'N'
.
In that case, how could I create a job to run or update above every day?
Related: Change automatic database field after a given time
– Icaro Martins