Question: design (code) a stored procedure that can be used to refresh the data in both your detailed and summary tables. The procedure should clear the
design (code) a stored procedure that can be used to refresh the data in both your detailed and summary tables. The procedure should clear the contents of the detailed and summary tables and perform the ETL load process from part C and include comments that identify how often the stored procedure should be executed.
1. Explain how the stored procedure can be run on a schedule to ensure data freshness.
This is done in postgreSQL. I do NOT need to set up the stored procedure to run on a timer I just need to explain how I could set it to run on a timer. I would be using 30 day timer to have the report refreshed for each meeting.
I attempted to code a stored procedure already but I am getting an error and do not know where I went wrong. The function works fine when I run the code, but errors when I try to call the function. Here is a SS of what I have so far.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
