Sync CSV data to Oracle on a schedule
Recipe ToolsData ParserDatabase
What it does
When a specified interval triggers, this automation parses a CSV file and upserts rows into an Oracle table. Someone can rely on the data staying current without manual updates.
Who it's for
Data and analytics teams who need to keep Oracle tables synchronized with CSV data on a regular cadence.
How teams use this
Keep Oracle current with daily CSV exports
Run the sync every morning so the Oracle table always has yesterday's data. The team opens Oracle and sees fresh numbers without asking for a manual refresh.
Sync data from a finance system export
Point the CSV parser to a finance export file and upsert into a different Oracle table for reporting. The schedule and logic stay the same, only the source file and target table change.
Add data validation before the upsert
Include a condition to check that required columns are present and values meet business rules before rows are upserted to Oracle. This prevents bad data from entering the table.
How it works
- Wait for the scheduled interval. At the scheduled time, the Clock trigger fires and this automation begins processing the data sync to Oracle.
- Parse the CSV file. The Csv Parser extracts rows and columns from the CSV so the data is ready to send to Oracle in the correct format.
- Upsert rows into Oracle table. Insert new rows or update existing ones in the C##TESTUSER.TESTTABLE table in Oracle so the database reflects the latest CSV data.