Import/export data
In this path you will learn how to import data from an excel file to a database and how to download data from the database and export to an excel or xml file.
Below is the material presenting the resulting functionality.
Issues presented in the current article
DATA STRUCTURE
| PACKAGE
|
STEP 1 - READING DATA FROM EXCEL FILE
In this step:
- You will create a processing package
- You will use the Excel Input File block
- Based on the selected header names You will generate a column of record and change fields types
tip
Import data file used in the tutorial: data.xlsx
STEP 2 - DATA STRUCTURE
In this step:
- You will create the data structures for the loaded data, based on the previously created data schema
STEP 3 - SAVING DATA TO THE DATABASE
In this step:
- You will use Database Writer block
- You will mapping of data readed from excel file to new record in Database Writer block
STEP 4 - EXPORT DATA TO FILE (EXCEL, XML)
In this step:
- You will use Database Reader block
- You will export data to files using the export to XML and EXCEL blocks