Hi.
This is the documentation about my project.
Only 4 steps.
- Select a text file as plain text .
- Rename 1 column
- Send to the database command to create table
- Export data with "Export to database".
There i'snt an erase command for any batch loaded, but at the end only appear the records of the last batch.
Project "Carga_D04_DTMT_Oracle"
Location: XXXXXXXXXXXXX\Carga_D04_DTMT_Oracle.morph
Embedded Connectors
The project doesn't have embedded connectors.
Shared Connectors
The project uses the following shared connectors:
- XXXXXX_B (Oracle)
Setting Value
Hostname XXX.XX.X.X
Port XXXX
Service name XXXX
Use Windows authentication No
User XXXXXX
Modules
The project consists of 1 module.
Module: Main
The module requires 1 source of data:
Text file "D04_DTMT_11_2023.TXT"
It exports data to 1 destination:
Database XXXXXX_B
The module creates 1 table that is later transformed using 4 actions.
Parameters
The module has the following parameters:
Parameter Type Value Label Note
Tabla Text or number XXXXXX.D04_DTMT D04_DTMT
File name File name XXXXXXXXXXXXXXXXXXXXXX\D04_DTMT_11_2023.TXT
Table: "D04.TXT"
Step 1: Import a text file as plain text into a single column.
Load file "D04_DTMT_11_2023.TXT".
The encoding is encoding is UTF-8. Import every line as new row.
Step 2: Rename 1 column:
Old Name New Name
[Column] [BCP_GLOSA]
Step 3: Send the database command below to shared SQL data source XXXXXX_B:
Create table "D04_DTMT".
Assign column types:
Column Name Database Type
BCP_GLOSA VARCHAR2(214)
If table already exists, delete rows, keep table.
Timeout is 1800 seconds.
Step 4: Export data to shared SQL data source XXXXXX_B. Table name: "XXXXXX_B.D04_DTMT". Batch size: 1000.
When value doesn't match column type, export as NULL.
When exporting a batch fails, export all batches that didn't fail, keep in EasyMorph only failed batches.
Export into database columns with the same names as in EasyMorph.