Skip to Main Content

SQL & PL/SQL

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

to store last run time plsql package procedure

user5108636Aug 15 2016 — edited Aug 18 2016

Hi All,

       I have a plsql package procedure which pulls data from table into a cursor filtered by last_run_datetime  and sysdate. This data gets written into a csv file.

Question. I want to store and update the last_run_datetime each time somewhere (preferably not in table) and accessible each time the procedure runs.

Also, want to know what are the implications if there is a database restart/outage on last_run_datetime.

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Sep 15 2016
Added on Aug 15 2016
20 comments
1,688 views