I would like to automatically export (say every hour) a view in my Oracle Application Express as a CSV file to be stored on the Apex Server. How do I go about doing that?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t see this as an APEX-specific question. The real question is: how to automatically export data as a CSV file in Oracle. This can be done using the UTL_FILE package to create the file, and either DBMS_SCHEDULER or DBMS_JOB package* to run your UTL_FILE procedure every hour.
(* DBMS_SCHEDULER is the officially preferred method, but DBMS_JOB is a lot simpler to use.)