Loading data from the Cross/Pivot table

Let us say we have table like the following in the database:

No Field Data Type
1 CUSTOMERID CHAR
2 YEAR DECIMAL
3 MONTH DECIMAL
4 PRODUCTID DECIMAL
5 AMOUNT DECIMAL

And a text files like the one below:

Year
CustomerID
ProductID
Month_1
Qty_1
Month_12
Qty_12

Pivot starts from column 4, it has 6 blocks and block size is 3

Pivot Data

Click Data Source Button and check ‘Source file is a Pivot table’ check box and set First Field to 4, Blocks to 12 and Block length to 2

Pivot

Map the data

Pivot

Finally we are ready to import data

Click to load data into the database

Run Button

Video Tutorial


For more technologies supported by our ETL Software see Advanced ETL Processor Versions

Confused? Ask question on our ETL Forum

Posted on March 4, 2025 • 1 min read • 164 words
www.etl-tools.com About Support Pricing Cookies Policy Term Of Use Privacy Policy License